Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Don't hide shared "x/y"ticklabels for grids of non-rectilinear axes.#19994
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
Conversation
https://matplotlib.org/stable/gallery/specialty_plots/skewt.html would be a counter example. OTOH, it's correct for all built in projections, and if somebody provides a custom projection we can expect they'll be able to hide labels they do not want. So let's not overthink this. |
Fair point about skewT :( but I would agree that they can always hide the labels themselves. |
feel free to remilestone |
In particular, hiding the "x/y" (i.e. theta/r) ticklabels doesn't makesense for polar axes, and I'd guess likewise for most projections otherthan the default rectilinear. Try e.g.`subplots(2, 2, subplot_kw=dict(projection="polar"), sharex=True, sharey=True)`.
rebased |
QuLogic commentedMay 6, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
This broke on merge, possibly because of the grid visibility PR#20161 going in in between. |
In particular, hiding the "x/y" (i.e. theta/r) ticklabels doesn't make
sense for polar axes, and I'd guess likewise for most projections other
than the default rectilinear. Try e.g.
subplots(2, 2, subplot_kw=dict(projection="polar"), sharex=True, sharey=True)
.before:


after:
PR Summary
PR Checklist
pytest
passes).flake8
on changed files to check).flake8-docstrings
and runflake8 --docstring-convention=all
).doc/users/next_whats_new/
(follow instructions in README.rst there).doc/api/next_api_changes/
(follow instructions in README.rst there).