write

Plotter.write(figure, filename, fig_args=None)[source]

Saves a matplotlib.figure object to a file.

Parameters
  • figure – A matplotlib.figure object.

  • filename – Path and name of the file as string or FileInfo object.

  • fig_args – A dictionary of additional keyword arguments for the fig.savefig method. This updates the fig_args given during initialisation.