Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0e0822 commit 1a2100bCopy full SHA for 1a2100b
1 file changed
lib/matplotlib/ticker.py
@@ -1431,7 +1431,7 @@ def set_params(self, **kwargs):
1431
def bin_boundaries(self, vmin, vmax):
1432
nbins = self._nbins
1433
if nbins == 'auto':
1434
- nbins = self.axis.get_tick_space()
+ nbins = min(self.axis.get_tick_space(), 9)
1435
scale, offset = scale_range(vmin, vmax, nbins)
1436
if self._integer:
1437
scale = max(1, scale)
0 commit comments