-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
[Bug]: Offset notation on y-axis can overlap with a long title #23379
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
Comments
I thought we'd fixed this. Can you check 3.5.2? Thanks! |
I can reproduce it on 3.5.1. Version 3.5.2 doesn't appear to be in Anaconda's repositories yet so I don't have an easy way to check it on my current machine. |
Ok thanks for checking I'll mark as a good first issue as this should be pretty straight forward addition to the current code that does this. |
Hi there! First time contributor here, if this issue is still open I'd like to work on it. |
no worries - thanks for the follow up |
Thanks @QuLogic I was pretty sure this had been fixed, but couldn't find the PR, and forgot to check master... |
Bug summary
Offset notation on the y-axis creates a "+1" or similar marker that overlaps a long title.
Code for reproduction
Actual outcome
Expected outcome
Additional information
There are workarounds such as passing arguments like
y=1.03
orpad=15
toset_title()
to push the title up manually. However, this should not be necessary as the documentation says "y is determined automatically to avoid decorators on the Axes" (see pull request #17127). Note also that settingconstrained_layout=True
does not change the output.Operating system
Windows 10
Matplotlib Version
3.4.3
Matplotlib Backend
module://matplotlib_inline.backend_inline
Python version
3.9.7
Jupyter version
6.4.5
Installation
conda
The text was updated successfully, but these errors were encountered: