Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Polar tick fixes #9881

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

Merged
merged 6 commits into from
Dec 1, 2017
Merged

Polar tick fixes #9881

merged 6 commits into from
Dec 1, 2017

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented Nov 29, 2017

PR Summary

This fixes several issues with ticks on polar plots, mostly when using clockwise orientation. I have tentatively put this on 2.1.1 as it is mostly a bug fix, but I'm 50/50 on the last commit. It's still a fix for something, just a little more magic than the others.

PR Checklist

  • Has Pytest style unit tests
  • Code is PEP 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

Because of the resetting and the ways tick anchoring worked, this was
effectively how it worked anyway.
The anchor needs to be on the opposite side compared to counterclockwise
plots.
They ended up upside down because of the negative angle after accounting
for axis direction. The normalization should work for clockwise plots
and those that start with any arbitrary start offset.
These don't really seem to be necessary anymore with previous fixes.
@QuLogic QuLogic added this to the v2.1.1 milestone Nov 29, 2017
@dopplershift dopplershift merged commit 0ddae6e into matplotlib:master Dec 1, 2017
lumberbot-app bot pushed a commit that referenced this pull request Dec 1, 2017
@QuLogic QuLogic deleted the polar-tick-fixes branch December 2, 2017 07:02
dstansby added a commit that referenced this pull request Dec 2, 2017
@QuLogic QuLogic mentioned this pull request Dec 9, 2017
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants