Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a752d46

Browse filesBrowse files
committed
Clarify a bit iter_ticks.
1 parent dbc693a commit a752d46
Copy full SHA for a752d46

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/axis.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axis.py
+1-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.