Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions lib/matplotlib/axes/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -3397,6 +3397,13 @@ def get_xticklabels(self, minor=False, which=None):
-------
ret : list
List of `~matplotlib.text.Text` instances.

Notes
-----
The tick label strings are not populated until a ``draw``
method has been called.

See also: `~.pyplot.draw` and `~.FigureCanvasBase.draw`.
"""
return self.xaxis.get_ticklabels(minor=minor, which=which)

Expand Down Expand Up @@ -3783,6 +3790,13 @@ def get_yticklabels(self, minor=False, which=None):
-------
ret : list
List of `~matplotlib.text.Text` instances.

Notes
-----
The tick label strings are not populated until a ``draw``
method has been called.

See also: `~.pyplot.draw` and `~.FigureCanvasBase.draw`.
"""
return self.yaxis.get_ticklabels(minor=minor, which=which)

Expand Down