You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Matplotlib 3.1 introduced a new method for adding a secondary axes with Axes.axes.secondary_xaxis and Axes.axes.secondary_xaxis. However, the .minorticks_on() method does nothing on those axes.
Bug report
Bug summary
Matplotlib 3.1 introduced a new method for adding a secondary axes with
Axes.axes.secondary_xaxisandAxes.axes.secondary_xaxis. However, the.minorticks_on()method does nothing on those axes.Code for reproduction
I use the example provided in the gallery -- https://matplotlib.org/3.1.0/gallery/subplots_axes_and_figures/secondary_axis.html -- but modify it to show minor ticks.
Actual outcome
Expected outcome
The top axis is expected to have minor ticks.
Matplotlib version
print(matplotlib.get_backend())): TkAgg