When I use the following code:
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\begin{figure}[h!]
\begin{center}
\caption{test}
\includegraphics{intpoptotal.png}
\end{center}
\end{figure}
\end{document}
The caption is centered as I want it, e.g.,
But when I use this apa6 class, with the following code:
\documentclass{apa6}
\begin{document}
\begin{figure}[h!]
\begin{center}
\caption{test}
\includegraphics{intpoptotal.png}
\end{center}
\end{figure}
\end{document}
The caption is left-aligned, e.g.,
How can I use \documentclass{apa6}
with centered captions? And what code in apa6 causes this to happen?