PlotlyWidget.savefig

PlotlyWidget.savefig(filename, figsize=(None, None), scale=1, transparent=False)[source]

Safe the figure as a static image.

Parameters
  • filename (str) – Name of the file to which the image is saved.

  • figsize (tuple) – Size of figure in pixels.

  • scale (float) – Scale factor for non-vectorized image formats.

  • transparent (bool) – Set the background to transparent.