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

Skip to content

Commit eafa79b

Browse files
committed
Fix backward compatibility on MaxNLocator
1 parent b4aa340 commit eafa79b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/ticker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1341,7 +1341,7 @@ class MaxNLocator(Locator):
13411341
"""
13421342
Select no more than N intervals at nice locations.
13431343
"""
1344-
default_params = dict(nbins='auto',
1344+
default_params = dict(nbins=10,
13451345
steps=None,
13461346
trim=True,
13471347
integer=False,

0 commit comments

Comments
 (0)