sidpy.viz.plot_utils.misc.export_fig_data

sidpy.viz.plot_utils.misc.export_fig_data(fig, filename, include_images=False)[source]

Export the data of all plots in the figure fig to a plain text file.

Parameters:
  • fig (matplotlib.figure.Figure) – The figure containing the data to be exported

  • filename (str) – The filename of the output text file

  • include_images (bool) – Should images in the figure also be exported