@@ -2439,11 +2439,28 @@ def nonsingular(self, vmin, vmax):
2439
2439
2440
2440
class SymmetricalLogLocator (Locator ):
2441
2441
"""
2442
- Determine the tick locations for symmetric log axes
2442
+ Determine the tick locations for symmetric log axes.
2443
2443
"""
2444
2444
2445
2445
def __init__ (self , transform = None , subs = None , linthresh = None , base = None ):
2446
- """Place ticks on the locations ``base**i*subs[j]``."""
2446
+ """
2447
+ Parameters
2448
+ ----------
2449
+ transform : `~.scale.SymmetricalLogTransform`, optional
2450
+ If set, defines the *base* and *linthresh* of the symlog transform.
2451
+ base, linthresh : float, optional
2452
+ The *base* and *linthresh* of the symlog transform, as documented
2453
+ for `.SymmetricalLogScale`. These parameters are only used if
2454
+ *transform* is not set.
2455
+ subs : sequence of float, default: [1]
2456
+ The multiples of integer powers of the base where ticks are placed,
2457
+ i.e., ticks are placed at
2458
+ ``[sub * base**i for i in ... for sub in subs]``.
2459
+
2460
+ Notes
2461
+ -----
2462
+ Either *transform*, or both *base* and *linthresh*, must be given.
2463
+ """
2447
2464
if transform is not None :
2448
2465
self ._base = transform .base
2449
2466
self ._linthresh = transform .linthresh
0 commit comments