h5analysis.plot_exporter.save_figure

h5analysis.plot_exporter.save_figure(fig, fname, data_format='pdf', **kwargs)

Export displayed data as processed plot

Parameters:
  • fig (object) – matplotlib figure object

  • fname (string) – path and file name of the exported file

  • data_format (string, [pdf,svg,png]) – Sets the output data format and matplotlib backend used