| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
any idea why appveyor isn't happy? IMO this is a super useful fix. This is an issue that is constantly coming up. I'd be +1 on backporting to the latest release since it's so simple... quick other thought: another common "cut off" situation is when you add a figure title that's outside of the figure bounds...is there a straightforward way to capture that situation w/ a similar fix as you've got here? |
Sorry, something went wrong.
|
@choldgraf The apveyor prob was just the same apveyor problem everyone has had. I'll rebase and resubmit. Its pretty trivial, and works fine w/ tight_layout... |
Sorry, something went wrong.
|
@choldgraf This modifies the tight box for an axes. A suptitle isn't attached to an axes, so tight_layout can't know where it is trivially. However, #9082 does handle suptitle. |
Sorry, something went wrong.
There was a problem hiding this comment.
👍 (does this count as an API change? maybe something should go in what's new?)
Sorry, something went wrong.
|
I suppose its an API change. However, I would expect the number of folks using tight_layout and a legend that is supposed to spill out the axis is vanishingly small since it didn’t work before ;-). The only situation I can see is where someone set up the legend to overspill the axis, it didn’t work when they called tight_layout, but they left the legend position in there anyway. I will add a what’s new entry, but I don’t think this will break much real-life usage. |
Sorry, something went wrong.
Added whats-new entry
Sorry, something went wrong.
|
@choldgraf Thanks for your help! Am I allowed to self-merge, or can you do it if you get a minute? |
Sorry, something went wrong.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Summary
Expands ax.get_tightbbox to include legends.
Now something like
will automatically make room for the legend (via tight_layout).
#9163
#9130
PR Checklist