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

Skip to content

Commit de62c6f

Browse files
committed
Change documentation of get_major_ticks to remove irrelevant details
1 parent e5bcfa8 commit de62c6f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

lib/matplotlib/axis.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1320,13 +1320,7 @@ def get_minor_formatter(self):
13201320
return self.minor.formatter
13211321

13221322
def get_major_ticks(self, numticks=None):
1323-
"""
1324-
Get the tick instances; grow as necessary.
1325-
1326-
Returns
1327-
-------
1328-
list of `.Tick` objects
1329-
"""
1323+
r"""Return the list of major `.Tick`\s."""
13301324
if numticks is None:
13311325
numticks = len(self.get_majorticklocs())
13321326

0 commit comments

Comments
 (0)