Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 033bc3b

Browse files
authored
Merge pull request #16141 from pgierz/pgierz-doc-update
Update _base.py
2 parents e3177f8 + afb4e10 commit 033bc3b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3396,6 +3396,13 @@ def get_xticklabels(self, minor=False, which=None):
33963396
-------
33973397
ret : list
33983398
List of `~matplotlib.text.Text` instances.
3399+
3400+
Notes
3401+
-----
3402+
The tick label strings are not populated until a ``draw``
3403+
method has been called.
3404+
3405+
See also: `~.pyplot.draw` and `~.FigureCanvasBase.draw`.
33993406
"""
34003407
return self.xaxis.get_ticklabels(minor=minor, which=which)
34013408

@@ -3782,6 +3789,13 @@ def get_yticklabels(self, minor=False, which=None):
37823789
-------
37833790
ret : list
37843791
List of `~matplotlib.text.Text` instances.
3792+
3793+
Notes
3794+
-----
3795+
The tick label strings are not populated until a ``draw``
3796+
method has been called.
3797+
3798+
See also: `~.pyplot.draw` and `~.FigureCanvasBase.draw`.
37853799
"""
37863800
return self.yaxis.get_ticklabels(minor=minor, which=which)
37873801

0 commit comments

Comments
 (0)