Skip to content

Docs: web figures in the Plotly tutorial - #87

Merged
max-models merged 1 commit into
develfrom
web-figures-docs
Nov 7, 2026
Merged

max-models merged 1 commit into
develfrom
web-figures-docs

Conversation

@max-models

@max-models max-models commented Nov 7, 2026 •

Copy link
Copy Markdown
Owner

The Plotly tutorial gets a section "9 · Web figures for a docs site".

  • It saves a canvas as waves.plotly.json and shows the hints from canvas.to_json(alt=...).
  • It explains how the palette and the text colour apply: traces without a colour, traces in a default colour, a black reference line, and named colours.
  • It embeds the file with the theme's PlotlyFigure.
  • It notes that a notebook's Plotly outputs are shown the same way on the docs site without saving.

The "Web figures" guide now points to starlight-theme 0.8 for the palette and hints, and to the tutorial.

The notebook runs locally from top to bottom, and the pre-commit hooks pass.

@max-models
max-models merged commit 374b6f9 into devel Nov 7, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant