Skip to content

Commit 2e0e6f4

Browse files
author
MKhadra
committed
Fixed error in ticker.py
1 parent bc98435 commit 2e0e6f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/ticker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2780,7 +2780,7 @@ def __call__(self):
27802780
return []
27812781

27822782
if self.ndivs is None:
2783-
if Locator.axis.__name__ == 'xaxis':
2783+
if self.axis.__name__ == 'xaxis':
27842784
self.ndivs = mpl.rcParams['xtick.minor.ndivs']
27852785
else:
27862786
self.ndivs = mpl.rcParams['ytick.minor.ndivs']

0 commit comments

Comments
 (0)