Repository navigation
Docs: live examples of web figures - #89
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The "Web figures" guide now shows embedded web figures, not only describes them.
PlotlyFigure, each with its code:Canvas;C1: the colormap stays and the contour takes the palette;scripts/web_figure_examples.pywrites them todocs/public/figures/. The docs workflow runs it aspre-build, and the smoke paths check the page and the three files. Run it by hand forastro dev.Two fixes to the Plotly output of a canvas, found on the way:
automarginmakes room for tick labels, but Plotly then pins a title without a standoff to the edge of the figure, half outside. The left and bottom margins now leave room when there is a y or x label (70 and 60 px), and the axis titles get a standoff of 8 px.Checks:
starlight-check-mdxcompiles all 22 MDX files.