-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Fix behaviour of Figure.clear() for SubplotParams #27183
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
cf6032e
Fix behaviour of Figure.clear() for SubplotParams
eendebakpt 68386fa
update credits
eendebakpt 035a9c0
lint
eendebakpt c2c13ff
lint
eendebakpt 247833c
lint
eendebakpt e2039f8
lint
eendebakpt 1b76817
run boilerplate.py
eendebakpt 51876fc
add tests
eendebakpt 1470bf2
Update doc/users/next_whats_new/subplots_adjust.rst
eendebakpt 199cc4a
update news entry
eendebakpt 9772578
increase coverage
eendebakpt 88eed8c
flake8
eendebakpt da31555
lint
eendebakpt 12f26bd
Merge branch 'main' into clf_subplots_adjust
eendebakpt e39db47
lint
eendebakpt 03ccff6
Merge branch 'main' into clf_subplots_adjust
eendebakpt 0086dcf
Update lib/matplotlib/tests/test_figure.py
eendebakpt e9b5a61
Merge branch 'main' into clf_subplots_adjust
eendebakpt ded306c
Merge branch 'clf_subplots_adjust' of github.com:eendebakpt/matplotli…
eendebakpt 5e40238
Merge branch 'main' into clf_subplots_adjust
eendebakpt e0b75ec
increase coverage
eendebakpt ddcc0b4
increase coverage
eendebakpt aa740f3
remove usage of rc_default
eendebakpt 0766ec0
update whatsnew
eendebakpt 50e9b46
whitespace
eendebakpt 3690d94
whitespace
eendebakpt e119ab0
Apply suggestions from code review
eendebakpt 275825f
review comments
eendebakpt b2cf506
Merge branch 'clf_subplots_adjust' of github.com:eendebakpt/matplotli…
eendebakpt 7665053
fix merge conflicts
eendebakpt 10d8216
remove duplicate test
eendebakpt d3f8db1
remove redundant test
eendebakpt 6725328
ci
eendebakpt a91275e
ci
eendebakpt 7d3e386
Update lib/matplotlib/tests/test_gridspec.py
eendebakpt 9d772c4
Update lib/matplotlib/tests/test_gridspec.py
eendebakpt 98df0da
Update doc/users/next_whats_new/subplots_adjust.rst
eendebakpt fac13d1
Update lib/matplotlib/gridspec.py
eendebakpt 49d1eca
Update lib/matplotlib/gridspec.py
eendebakpt 5c9674a
whitespace
eendebakpt 78d699c
Merge branch 'main' into clf_subplots_adjust
eendebakpt 5ad2d55
Update doc/users/next_whats_new/subplots_adjust.rst
timhoffm d5c9f7b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Resetting the subplot parameters for figure.clear() | ||
--------------------------------------------------- | ||
|
||
When calling `.Figure.clear()` the settings for `.gridspec.SubplotParams` are restored to the default values. | ||
|
||
`~.SubplotParams.to_dict` is a new method to get the subplot parameters as a dict, | ||
and `~.SubplotParams.reset` resets the parameters to the defaults. |
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.