Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Add a filename-prefix option to the Sphinx plot directive#28187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
24 commits Select commitHold shift + click to select a range
615017a
Add an output-base-name option to the Sphinx plot directive
asmeurerb432962
Add tests for output-base-name
asmeurer426abc7
Remove {counter} from output-base-name and remove the global config
asmeurer8485bfd
Check for duplicate output-base-name in the Sphinx extension
asmeurerf94a932
Fix flake8 errors
asmeurer19daf49
Merge branch 'main' into output-base-name
asmeurer8f05ba6
Make an internal class private
asmeurer1fa88dd
Fix small code nit
asmeurera22fcc3
Add a test for output-base-name with a .py file
asmeurer86fb167
Remove a redundant test
asmeurere0be21e
Disallow / or . in output-base-name
asmeurerf322125
Rename output-base-name to image-basename
asmeurerfc33c38
Use a better variable name
asmeurer7d416cf
Simplify logic in merge_other
asmeurerce23c88
Merge branch 'main' into output-base-name
asmeurerf654a74
Various small code cleanups from review
asmeurer13e5291
Merge branch 'main' into output-base-name
asmeurer20bed26
Add a test for image-basename with multiple figures
asmeurer7f56c94
Disallow \ in output_base in the plot directive
asmeurer550e382
Fix the source link when using a custom basename to include the .py e…
asmeurerd4f2440
Make the sphinx extension tests more robust to manually building the …
asmeurerbab3aaf
Use shutil.ignore_patterns
asmeurerc8eba90
Rename image-basename to filename-prefix
asmeurerf4f1fbf
Merge branch 'main' into output-base-name
asmeurerFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Add a test for image-basename with multiple figures
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit20bed265798c1ac62229235ced8ca286154b6b09
There are no files selected for viewing
11 changes: 10 additions & 1 deletionlib/matplotlib/tests/data/tinypages/some_plots.rst
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
4 changes: 3 additions & 1 deletionlib/matplotlib/tests/test_sphinxext.py
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
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.