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 2327801

Browse filesBrowse files
authored
Merge pull request #17019 from vishalBindal/update-major-ticks-docs
Add return field to documentation of 'get_major_ticks'
2 parents 1709db8 + d99bf41 commit 2327801
Copy full SHA for 2327801

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-2
lines changed

‎lib/matplotlib/axis.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axis.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1320,7 +1320,7 @@ def get_minor_formatter(self):
13201320
return self.minor.formatter
13211321

13221322
def get_major_ticks(self, numticks=None):
1323-
"""Get the tick instances; grow as necessary."""
1323+
r"""Return the list of major `.Tick`\s."""
13241324
if numticks is None:
13251325
numticks = len(self.get_majorticklocs())
13261326

@@ -1334,7 +1334,7 @@ def get_major_ticks(self, numticks=None):
13341334
return self.majorTicks[:numticks]
13351335

13361336
def get_minor_ticks(self, numticks=None):
1337-
"""Get the minor tick instances; grow as necessary."""
1337+
r"""Return the list of minor `.Tick`\s."""
13381338
if numticks is None:
13391339
numticks = len(self.get_minorticklocs())
13401340

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.