- dynamo.pl.save_fig(path=None, prefix=None, dpi=None, ext='pdf', transparent=True, close=True, verbose=True)
Save a figure from pyplot.
Code adapated from http://www.jesshamrick.com/2012/09/03/saving-figures-from-pyplot/
str) – the file extension. This must be supported by the active matplotlib backend (see matplotlib.backends module). Most backends support ‘png’, ‘pdf’, ‘ps’, ‘eps’, and ‘svg’. Defaults to “pdf”.
bool) – whether to save the figure with axes patches and background transparent. Defaults to True.
bool) – whether to close the figure after saving. If you want to save_fig the figure multiple times (e.g., to
formats) (multiple) –
True. (you should NOT close it in between saves or you will have to re-plot it. Defaults to) –
bool) – whether to print information about when and where the image has been saved. Defaults to True.
- Return type: