Description
Bug report
Bug summary
get_yticklabels doc refers to x ticks.
Axes.get_yticklabels(minor=False, which=None)
Get the x tick labels as a list of Text instances.
I went to make a PR but was unsure where to make the change.
I found a get_yticklabels() function in axes/_base.py
but it has correct docs.
matplotlib/lib/matplotlib/axes/_base.py
Lines 3526 to 3528 in 90ac523
It does however use a get_ticklabels
method.
Finding a get_ticklabels
method of the Axis
class I see that the documentation specifically references x ticks.
matplotlib/lib/matplotlib/axis.py
Lines 1246 to 1248 in 7d7692f
This may be where the typo is coming from. But I am not sure if this is just a different typo.
Expected outcome
Should be probably be
Axes.get_yticklabels(minor=False, which=None)
Get the y tick labels as a list of Text instances.
Some guidance on where to make the changes and I can do a PR.
Thanks