Examples

matplotly supports a wide range of matplotlib plot types. Each demo notebook in the repository shows how to use the editor with a specific plot type. See Plot Types Reference for a detailed reference of available controls.

Supported plot types

Line plotsax.plot()

Color, linewidth, linestyle, marker style, marker size, alpha. Each line gets its own collapsible panel in the sidebar.

Scatter plotsax.scatter()

Face color, edge color, marker style, marker size, alpha. Edge color can auto-sync with face color or be set independently.

Bar chartsax.bar() / ax.barh()

Per-bar color, edge color, edge width, alpha, hatch pattern. Shared controls for bar width, gap, orientation, and tick labels.

Histogramsax.hist()

Per-histogram color, edge color, alpha, hatch. Shared controls for bin count, histogram type (bar/step/stepfilled), mode (count/frequency/density), cumulative toggle, and orientation.

Box plotsax.boxplot()

Box color, linewidth, hatch, notch toggle. Separate controls for median line, whisker/cap styling, and flier (outlier) markers. Display mode switching between box, violin, jitter, and combinations.

Violin plotsax.violinplot()

Same distribution controls as box plots. Switch between display modes (box, violin, jitter) and combinations.

Error barsax.errorbar()

Line color, linewidth, linestyle, marker styling. Separate controls for cap size and cap thickness.

Heatmapsax.imshow() / ax.pcolormesh()

Colormap selection and colorbar controls.

Fill regionsax.fill_between() / ax.fill_betweenx()

Fill color, alpha, hatch pattern.

Marginal plots — joint + marginal distributions

Scatter plot with marginal histograms on top and right axes. Histogram styling syncs with the scatter color by default.

See the demo_*.ipynb notebooks in the repository root for interactive walkthroughs of each type.