Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Get correct renderer for axes_grid1 inset axes with bbox_inches=tight#26291

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
jklymak merged 1 commit intomatplotlib:mainfromksunden:inset_renderer
Jul 12, 2023

Conversation

ksunden
Copy link
Member

PR summary

Closes#26287

Adds the plumbing to thread through the renderer from the axes to the calls which need it.

Added a test which fails on current main, but simply smoke tests that it doesn't raise (saving with bbox_inches=tight to a BytesIO)

PR checklist

@jklymakjklymak merged commit49f9ab8 intomatplotlib:mainJul 12, 2023
@oscargus
Copy link
Member

Should this be marked 3.8 or 3.7.3 (and therefore backported)?

@rcomerrcomer added the PR: bugfixPull requests that fix identified bugs labelJul 13, 2023
@rcomerrcomer added this to thev3.7.3 milestoneJul 13, 2023
@rcomer
Copy link
Member

I can’t see any harm in backporting.

@meeseeksdev backport to v3.7.x

meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestJul 13, 2023
oscargus added a commit that referenced this pull requestJul 13, 2023
…291-on-v3.7.xBackport PR#26291 on branch v3.7.x (Get correct renderer for axes_grid1 inset axes with bbox_inches=tight)
xylar added a commit to xylar/MPAS-Analysis that referenced this pull requestJul 16, 2023
There is a bug with tight layouts and insetsmatplotlib/matplotlib#26291
xylar added a commit to xylar/polaris that referenced this pull requestJul 27, 2023
We don't want to use version 3.7.2 because of a known bugwith tight layouts and insets:matplotlib/matplotlib#26291
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@jklymakjklymakjklymak approved these changes

@rcomerrcomerrcomer approved these changes

Assignees
No one assigned
Labels
PR: bugfixPull requests that fix identified bugs
Projects
None yet
Milestone
v3.7.3
Development

Successfully merging this pull request may close these issues.

[Bug]: Error while creating inset axes usingmpl_toolkits.axes_grid1.inset_locator.inset_axes
4 participants
@ksunden@oscargus@rcomer@jklymak

[8]ページ先頭

©2009-2025 Movatter.jp