-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Change in behavior of axis.tick_left() with shared axes from 2.0 to 2.1 #9664
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
Comments
(This behavior is not restricted to |
Thank you for issue report and the MWE :). From
Attention @QuLogic (BTW: I would be inclined to milestone this for 2.1.1 if that's a very short fix) |
I think 2348584 does the right thing in The problem with For now, I think a workaround is: axes[1].yaxis.set_tick_params(left=True) and maybe the proper solution to the OPs issue is better documentation of |
This new behavior causes some major problems for multi-panel plots in seaborn. I can make changes going forward, but it's going to be an issue that is very difficult to work around for people who are updating asynchronously. |
I agree the API shouldn't change w/o notice. The question is do we want to change |
@jklymak No, I'm not set up to build matplotlib locally |
Following up on this: I tried @jklymak's suggestion of using label = True
if 'label1On' in self._major_tick_kw:
label = (self._major_tick_kw['label1On']
or self._major_tick_kw['label2On']) So I end up running right into the original problem in this thread. Given that, if there's no public way to determine whether tick labels are on, I'd like to ask that you please maintain stability in the Thanks. |
Actually I ended up needing to solve this problem for another reason, and it does turn out to possible (if a bit roundabout), so I retract this statement and request. |
Bug report
Bug summary
Between 2.0 and 2.1, using
tick_left()
on the y axis of an inner panel of a plot with shared y axes makes the tips reappear.Code for reproduction
Actual outcome
On matplotlib 2.1:
Expected outcome
On matplotlib 2.0:
Matplotlib version
print(matplotlib.get_backend())
): MacOSXMatplotlib installed via conda.
The text was updated successfully, but these errors were encountered: