FIX: colorbar minorticks when rcParams['x/ytick.minor.visible'] = True#16469
Conversation
|
|
gh isn't showing me the line you are trying to mention. Could you please elaborate? Thanks! |
|
Just call self.minorticks_on(rcpram[minirticks]) ? EDIT: actually I guess that doesn't work because long_axis isn't defined yet. |
|
I guess I'm not sure we should be turning the minorticks on at all based on the 'ytick.minor.visible' value? I am rather shocked that we have no rcParams for colorbars, but maybe we need one here? |
|
you are right about the one liner. pushed a change.. and yes I agree that we need dedicated rcParams for colorbar. I am just trying to fix the existing incorrect behavior. |
jklymak
left a comment
There was a problem hiding this comment.
LGTM. Thanks a lot @pharshalp
anntzer
left a comment
There was a problem hiding this comment.
thanks for the pr.
anyone can merge postci.
Added a test Replaced the unnecessary logic with a one liner as suggested Better docs for test Removed random data from test flake8 fix
|
|
PR Summary
closes #16468
PR Checklist