-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Boring style fixes. #11680
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
Boring style fixes. #11680
Conversation
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.
Take or leave the ordering issue...
lib/matplotlib/ticker.py
Outdated
if decade_min <= 0 <= decade_max: | ||
ticklocs.append(0.5) | ||
if decade_max >= 1: | ||
if 1 <= decade_max: |
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.
huh?
lib/matplotlib/ticker.py
Outdated
if decade_min <= 0 <= decade_max: | ||
ticklocs.extend([0.2, 0.3, 0.4, 0.6, 0.7, 0.8]) | ||
if decade_max >= 2: | ||
if 2 <= decade_max: |
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.
This is backwards to the way most people think. I guess you want to write it this way so the numbers are in order, and I wouldn't hold up the PR on this, but...
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.
Sorry, that was from a while ago, undoing both of these...
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.
modulo CI passing.
Huh, appveyor has actually passed this PR, but it shows up as pending on GH. Merging as clearly passing. |
PR Summary
PR Checklist