How to create figure numbers like 1.1.1 and then 1.2.1, not 1.2.2?
I mean even if I added \arabic{section} into the command, the order of figures is still continuous, not accordingly rearranged by sections.
Is there any mistake I made? Below is the command line:
\renewcommand{\thefigure}{\arabic{chapter}.\arabic{section}.\arabic{figure}}