Skip to content
masterclass Buddy

Plotly · Class

Figure

plotly.graph_objects.Figure is the main Plotly object for building, changing, displaying, and exporting charts. It contains data traces, layout settings, and optional animation frames.

Last updated

Syntax

plotly.graph_objects.Figure(data=None, layout=None, frames=None, skip_invalid=False, **kwargs)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • plotly.express
  • plotly.graph_objects
  • plotly.io
  • plotly.subplots.make_subplots
  • add_trace()
  • update_layout()
  • update_traces()
  • to_dict()

Source: plotly.graph_objects.Figure — 7.1.0 documentation. Checked 2026-11-03.