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.
PR Summary
When Graphviz is given a page size (which Sphinx does by default), it will layout the whole graph, and then scale the entire thing down to fit. This means that text and lines on large diagrams are inconsistent with ones that fit.
Additionally, the default size is larger than the content width which means the browser will also scale the image down a bit. But the URL map is not scaled down, so the links will appear in the wrong spot.
To fix this, set the page size in Graphviz very large, and make the diagram scrollable with CSS.
Plus a few minor tweaks to font and line sizes now that images are a consistent scale.
PR Checklist
Tests and Styling
pytest
passes).flake8-docstrings
and runflake8 --docstring-convention=all
).Documentation
doc/users/next_whats_new/
(follow instructions in README.rst there).doc/api/next_api_changes/
(follow instructions in README.rst there).