8000 Clarify a bit iter_ticks. · matplotlib/matplotlib@a752d46 · GitHub
[go: up one dir, main page]

Skip to content

Commit a752d46

Browse files
committed
Clarify a bit iter_ticks.
1 parent dbc693a commit a752d46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/axis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@ def _set_artist_props(self, a):
10131013

10141014
def iter_ticks(self):
10151015
"""
1016-
Iterate through all of the major and minor ticks.
1016+
Yield ``(Tick, location, label)`` tuples for major and minor ticks.
10171017
"""
10181018
major_locs = self.get_majorticklocs()
10191019
major_labels = self.major.formatter.format_ticks(major_locs)

0 commit comments

Comments
 (0)
0