robotics_toolbox.utils.animation_utils.save_fig
- robotics_toolbox.utils.animation_utils.save_fig(output_folder='/tmp/animation', renderer=None)
Save fig of the renderer into the given output folder. Output folder is cleaned on the first run of this command. If renderer not provided use plt.savefig. This name of figures is img_{id}.png.
- Parameters:
output_folder (Path | str)