Skip to content
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

[MNT] Move SubplotParams from figure to gridspec #26634

Merged
merged 1 commit into from
Sep 2, 2023

Conversation

timhoffm
Copy link
Member

Logically, this belongs more to the gridspec layout than to the figure.

There is no API breakage involved, because matplotlib.figure reimports SubplotParams. Do we nevertheless want an API change note?

@jklymak
Copy link
Member

jklymak commented Aug 30, 2023

It probably needs a short note that says it's been moved.

lib/matplotlib/figure.pyi Outdated Show resolved Hide resolved
Logically, this belongs more to the gridspec layout than
to the figure.

There is no API breakage involved, because
`matplotlib.figure` reimports `SubplotParams`. Do we
nevertheless want an API change note?
@jklymak jklymak merged commit 6fc9624 into matplotlib:main Sep 2, 2023
40 checks passed
@timhoffm timhoffm deleted the move-subplotparams branch September 3, 2023 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants