@@ -2439,11 +2439,28 @@ def nonsingular(self, vmin, vmax):
24392439
24402440class SymmetricalLogLocator (Locator ):
24412441 """
2442- Determine the tick locations for symmetric log axes
2442+ Determine the tick locations for symmetric log axes.
24432443 """
24442444
24452445 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+ """
24472464 if transform is not None :
24482465 self ._base = transform .base
24492466 self ._linthresh = transform .linthresh
0 commit comments