savefig(filename, figsize=(None, None), scale=1, transparent=False)¶
Safe the figure as a static image.
filename (str) – Name of the file to which the image is saved.
figsize (tuple) – Size of figure in pixels.
scale (float) – Scale factor for non-vectorized image formats.
transparent (bool) – Set the background to transparent.