stereo.plots.plot_cells.PlotCells.save_plot

PlotCells.save_plot(save_file_name, save_width=None, save_height=None, save_only_in_view=False, with_base_image=False)[source]

Save the plot to a PNG, SVG or PDF file depending on the extension of the file name.

Parameters:
  • save_file_name (str) – the name of the file to save the plot.

  • save_width (Optional[int]) – the width of the saved plot, defaults to be the same as the plot.

  • save_height (Optional[int]) – the height of the saved plot, defaults to be the same as the plot.

  • save_only_in_view (bool) – only save the plot in the view, defaults to False.

  • with_base_image (bool) – whether to save the plot with the base image, defaults to False. Currently, the dpi of the saved base image may not be high.