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

Skip to content

Commit b5038d5

Browse files
committed
ticker.py updated
1 parent 104dc40 commit b5038d5

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lib/matplotlib/ticker.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2634,12 +2634,7 @@ def __init__(self, n=None):
26342634
26352635
If *n* is omitted or None, it will be set to 5 or 4.
26362636
"""
2637-
if n is None:
2638-
self.ndivs = None
2639-
elif n == 'auto':
2640-
self.ndivs = 'auto'
2641-
else:
2642-
self.ndivs = n
2637+
self.ndivs = n
26432638

26442639
def __call__(self):
26452640
'Return the locations of the ticks'

0 commit comments

Comments
 (0)