Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Fix title position for polar plots#29382
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
lib/matplotlib/tests/test_polar.py Outdated
@@ -220,6 +220,21 @@ def test_polar_rlabel_position(): | |||
ax.tick_params(rotation='auto') | |||
@mpl.style.context('default') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Could you add an image comparison test that has polar titles? This seems like something we should check visually
86f089c
intomatplotlib:mainUh oh!
There was an error while loading.Please reload this page.
…382-on-v3.10.xBackport PR#29382 on branch v3.10.x (Fix title position for polar plots)
Uh oh!
There was an error while loading.Please reload this page.
PR summary
Fixes#29381 by partially reverting#28300. The problem was as described at#29381 (comment). We could potentially retain most of the performance gain from#28300 by adding a new return option (or two) to
get_ticks_position
. However, I am nervous about doing that in a micro release and propose to look at it as a follow up for v3.11. Note that this should not much affect the first and last performance gains outlined at#28300 (comment).PR checklist