doc: Update docs with v6.8.0 changes#5610
Merged
Merged
Conversation
The HTML produced by `to_html` wraps the figure in an outer `<div>` with no inline style. The inner figure div sets `height:100%`, but because the wrapper has no height, that 100% resolves to zero and plotly.js falls back to its hardcoded 450px. The result is that the documented default of `default_height='100%'` cannot inherit from a sized parent container, so figures embedded in responsive layouts (Jinja templates, Dash containers with `vh`/`%` heights, etc.) silently render at 450px. Move the requested dimensions onto the wrapper and let the inner figure div fill it. Pixel defaults still produce a fixed-size figure; percentage defaults now propagate from the parent container as the docstring claims. Closes #5591
The public API is available since matplotlib 3.7 matplotlib/matplotlib#23692
Add dependabot config for updating uv.lock
docs: Update release, docs readme files with info, corrections
Don't use matplotlib internal API _major_tick_kw
The outer div produced by to_html now carries a style attribute so that requested dimensions propagate down to the figure element (see #5591). Loosen the existing assertion accordingly.
…eight Fix to_html responsive height by styling outer wrapper div
ci: Pin python-frontmatter to keep Python 3.9 compatibility
chore: Update plotly.js to v3.6.0
Version changes for v6.8.0
…e-newer ci: Exempt plotly.py from exclude-newer rule
emilykl
approved these changes
Jun 3, 2026
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.
Description of change
Update doc-prod with v6.8.0 changes.
Guidelines