plotly.graph_objects: low-level interface to figures, traces and layout

plotly.graph_objects contains the building blocks of plotly Figure: traces (Scatter, Bar, …) and Layout

>>> import plotly.graph_objects as go

Figure

Figure([data, layout, frames, skip_invalid])

Layout

Layout([arg, activeselection, activeshape, …])

Simple Traces

Scatter([arg, alignmentgroup, cliponaxis, …])

Scattergl([arg, connectgaps, customdata, …])

Bar([arg, alignmentgroup, base, basesrc, …])

Pie([arg, automargin, customdata, …])

Heatmap([arg, autocolorscale, coloraxis, …])

Heatmapgl([arg, autocolorscale, coloraxis, …])

Image([arg, colormodel, customdata, …])

Contour([arg, autocolorscale, autocontour, …])

Table([arg, cells, columnorder, …])

Distribution Traces

Box([arg, alignmentgroup, boxmean, …])

Violin([arg, alignmentgroup, bandwidth, …])

Histogram([arg, alignmentgroup, autobinx, …])

Histogram2d([arg, autobinx, autobiny, …])

Histogram2dContour([arg, autobinx, …])

Finance Traces

Ohlc([arg, close, closesrc, customdata, …])

Candlestick([arg, close, closesrc, …])

Waterfall([arg, alignmentgroup, base, …])

Funnel([arg, alignmentgroup, cliponaxis, …])

Funnelarea([arg, aspectratio, baseratio, …])

Indicator([arg, align, customdata, …])

3D Traces –

Scatter3d([arg, connectgaps, customdata, …])

Surface([arg, autocolorscale, cauto, cmax, …])

Mesh3d([arg, alphahull, autocolorscale, …])

Cone([arg, anchor, autocolorscale, cauto, …])

Streamtube([arg, autocolorscale, cauto, …])

Volume([arg, autocolorscale, caps, cauto, …])

Isosurface([arg, autocolorscale, caps, …])

Map Traces

Scattergeo([arg, connectgaps, customdata, …])

Choropleth([arg, autocolorscale, coloraxis, …])

Scattermap([arg, below, cluster, …])

Choroplethmap([arg, autocolorscale, below, …])

Densitymap([arg, autocolorscale, below, …])

Scattermapbox([arg, below, cluster, …])

Choroplethmapbox([arg, autocolorscale, …])

Densitymapbox([arg, autocolorscale, below, …])

Specialized Traces

Scatterpolar([arg, cliponaxis, connectgaps, …])

Scatterpolargl([arg, connectgaps, …])

Barpolar([arg, base, basesrc, customdata, …])

Scatterternary([arg, a, asrc, b, bsrc, c, …])

Sunburst([arg, branchvalues, count, …])

Treemap([arg, branchvalues, count, …])

Icicle([arg, branchvalues, count, …])

Sankey([arg, arrangement, customdata, …])

Splom([arg, customdata, customdatasrc, …])

Parcats([arg, arrangement, bundlecolors, …])

Parcoords([arg, customdata, customdatasrc, …])

Carpet([arg, a, a0, aaxis, asrc, b, b0, …])

Scattercarpet([arg, a, asrc, b, bsrc, …])

Contourcarpet([arg, a, a0, asrc, atype, …])