-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
FIX: pass colorbar.set_ticklabels down to long_axis #20758
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
FIX: pass colorbar.set_ticklabels down to long_axis #20758
Conversation
490ef8e
to
0a66897
Compare
3377790
to
198a0d7
Compare
I think this is a start, but we do have a bit of funkiness about |
The tick positions can be hard-coded by an array of values; or | ||
they can be defined by a `.Locator`. Setting to *None* reverts |
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.
Accepting a Locator
is (intentionally?) no longer documented.
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.
Right, I didn't want to break API, however, axis.set_ticks
does not take a locator so far as I can tell.
198a0d7
to
d19c8b7
Compare
d19c8b7
to
cd5e222
Compare
cd5e222
to
c64c852
Compare
PR Summary
Closes #20296
colorbar.set_ticklabels
is now just an alias tocolorbar._long_axis().set_ticklabels
except it also has a deprecated kwarg.Not sure if this really needs an API change or not - its just making the
set_ticklabels
the same as it is onaxis.set_ticklabels
.Also updated
colorbar.set_ticks
to be the same as the axis command.