savefig(path, fig=None, close=True, **kwargs)¶
Save a figure.
Note, that this method defaults to transparent background (
facecolorkwarg) and to 300 dpi.
- path (str) – Path to save figure at.
- fig (matplotlib.figure.Figure object (optional)) – The figure to plot onto. If None, gets current figure. Default is None.
- close (bool (optional)) – Toggle closing of figure after saving. Default is True.
- Parameters (Keyword) –
- ------------------ –
- kwargs (any) – All additional parameters are passed to the underlying matplotlib
The full path where the figure was saved.