FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Get correct renderer for axes_grid1 inset axes with bbox_inches=tight by ksunden · Pull Request #26291 · matplotlib/matplotlib · GitHub

Repository navigation

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

Merged
jklymak merged 1 commit into
matplotlib:mainfrom
ksunden:inset_renderer
Jul 12, 2023
Merged

jklymak merged 1 commit into
matplotlib:mainfrom
ksunden:inset_renderer

Conversation

ksunden commented Jul 12, 2023

Copy link
Copy Markdown
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

jklymak merged commit 49f9ab8 into matplotlib:main Jul 12, 2023

Copy link
Copy Markdown
Member

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

rcomer added the PR: bugfix Pull requests that fix identified bugs label Jul 13, 2023
rcomer added this to the v3.7.3 milestone Jul 13, 2023

rcomer commented Jul 13, 2023

Copy link
Copy Markdown
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 request Jul 13, 2023
oscargus added a commit that referenced this pull request Jul 13, 2023
…291-on-v3.7.x

Backport 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 request Jul 16, 2023
There is a bug with tight layouts and insets
matplotlib/matplotlib#26291
xylar added a commit to xylar/polaris that referenced this pull request Jul 27, 2023
We don't want to use version 3.7.2 because of a known bug
with tight layouts and insets: matplotlib/matplotlib#26291
xylar mentioned this pull request Jul 27, 2023
1 task done
wavebyrd pushed a commit to wavebyrd/matplotlib that referenced this pull request Mar 13, 2026
wavebyrd pushed a commit to wavebyrd/matplotlib that referenced this pull request Mar 13, 2026
…t-of-pr-26291-on-v3.7.x

Backport PR matplotlib#26291 on branch v3.7.x (Get correct renderer for axes_grid1 inset axes with bbox_inches=tight)
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: bugfix Pull requests that fix identified bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Error while creating inset axes using mpl_toolkits.axes_grid1.inset_locator.inset_axes

4 participants


Back | FazBrowse Home | New Git URL