I am looking for a utility function that prints the rendered scenario figure as a file (either in png,
pdf,
or svg
format, for example). But I am having difficulty finding such a utility function. The mp_renderer
or renderer
classes in the visualization
module do not have figure-saving options.
Alternatively, if someone knows how to expose the figure handle, I can use the figure handle to save the figure using Matplotlib functions such as savefig()
.
Thanks for any tips.