File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1405,7 +1405,7 @@ def get_minor_formatter(self):
1405
1405
def get_major_ticks (self , numticks = None ):
1406
1406
'Get the tick instances; grow as necessary.'
1407
1407
if numticks is None :
1408
- numticks = len (self .get_major_locator () ())
1408
+ numticks = len (self .get_majorticklocs ())
1409
1409
1410
1410
while len (self .majorTicks ) < numticks :
1411
1411
# Update the new tick label properties from the old.
@@ -1419,7 +1419,7 @@ def get_major_ticks(self, numticks=None):
1419
1419
def get_minor_ticks (self , numticks = None ):
1420
1420
'Get the minor tick instances; grow as necessary.'
1421
1421
if numticks is None :
1422
- numticks = len (self .get_minor_locator () ())
1422
+ numticks = len (self .get_minorticklocs ())
1423
1423
1424
1424
while len (self .minorTicks ) < numticks :
1425
1425
# Update the new tick label properties from the old.
You can’t perform that action at this time.
0 commit comments