PlotlyFigure.savefig

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

Save the figure.

Parameters
  • filename (str) – Filename to save to.

  • figsize (tuple) – Figure size (W x H) in pixels.

  • scale (float) – Scales the output figure.

  • transparent (bool) – Transparent background.