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.
2 parents c9cefdc + bfab996 commit e4893f5Copy full SHA for e4893f5
lib/matplotlib/ticker.py
@@ -1373,12 +1373,15 @@ class SymmetricalLogLocator(Locator):
1373
Determine the tick locations for log axes
1374
"""
1375
1376
- def __init__(self, transform, subs=[1.0]):
+ def __init__(self, transform, subs=None):
1377
1378
place ticks on the location= base**i*subs[j]
1379
1380
self._transform = transform
1381
- self._subs = subs
+ if subs is None:
1382
+ self._subs = [1.0]
1383
+ else:
1384
+ self._subs = subs
1385
self.numticks = 15
1386
1387
def __call__(self):
0 commit comments