save_plot

ssapy.plotUtils.save_plot(figure, save_path, dpi=200)[source][source]

Save a Python figure as a PNG/JPG/PDF/ect. image. If no extension is given in the save_path, a .png is defaulted.

Parameters:
  • figure (matplotlib.figure.Figure) – The figure object to be saved.

  • save_path (str) – The file path where the image will be saved.

Returns:

None