lib.plotting.savefig

lib.plotting.savefig(filename, fig=None, bbox_inches='tight', pad_inches=0.1, dpi=200, **kwargs)

Save figure to filename.

Parameters
  • filename (string) – Path where to save figure.

  • fig (matplotlib.figure.Figure, default=None) – Figure to save. Defaults to current figure.

  • kwargs (dict) – Arguments for matplotlib.figure.Figure.savefig().