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
{{ message }}
Repository navigation
ax.get_xaxis().get_minorticklabels() always returns list of empty strings #13968
changed the title [-]`ax.get_xaxis().get_minorticklabels()` always removes list of empty strings[/-][+]`ax.get_xaxis().get_minorticklabels()` always returns list of empty strings[/+]on Apr 15, 2019
Ok, that's unfortunate, but is unrelated (you may not have tk inter installed). Would "Qt5Agg" work instead? I'm trying to find out if this is backend dependent, because I cannot reproduce (and don't have a Mac).
Activity
[-]`ax.get_xaxis().get_minorticklabels()` always removes list of empty strings[/-][+]`ax.get_xaxis().get_minorticklabels()` always returns list of empty strings[/+]ImportanceOfBeingErnest commentedon Apr 15, 2019
Do you get the same with
TkAggbackend? I.e.import matplotlib; matplotlib.use("TkAgg")tdegeus commentedon Apr 15, 2019
@ImportanceOfBeingErnest I get an uncaught exception of type
NSExceptionwhen usingmatplotlib.use("TkAgg")?!?!ImportanceOfBeingErnest commentedon Apr 15, 2019
Ok, that's unfortunate, but is unrelated (you may not have tk inter installed). Would
"Qt5Agg"work instead? I'm trying to find out if this is backend dependent, because I cannot reproduce (and don't have a Mac).tdegeus commentedon Apr 15, 2019
@ImportanceOfBeingErnest No such luck. I can say that a colleague on a mac can reproduce this problem (in his case installation through macports)
jklymak commentedon Apr 15, 2019
That is very strange. Indeed toggling
matplotlib.use('MacOSX')andmatplotlib.use('Qt5Agg')give the bug and the expected result respectively.If you do:
and close the window you get the right answer...
tdegeus commentedon Apr 16, 2019
I can reproduce that after
plt.showthe output is what it should be.