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

Skip to content

Commit e99f1d5

Browse files
committed
Merge pull request #5170 from Tillsten/ticker_maint
[MAINT] Add symlog locator to __all__ and to the docs
1 parent c4b9f4e commit e99f1d5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/matplotlib/ticker.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@
5555
:class:`LogLocator`
5656
logarithmically ticks from min to max
5757
58+
:class:`SymmetricalLogLocator`
59+
locator for use with with the symlog norm, works like the `LogLocator` for
60+
the part outside of the threshold and add 0 if inside the limits
61+
5862
:class:`MultipleLocator`
5963
ticks and range are a multiple of base;
6064
either integer or float
@@ -2004,4 +2008,5 @@ def get_locator(self, d):
20042008
'LogFormatterExponent', 'LogFormatterMathtext', 'Locator',
20052009
'IndexLocator', 'FixedLocator', 'NullLocator',
20062010
'LinearLocator', 'LogLocator', 'AutoLocator',
2007-
'MultipleLocator', 'MaxNLocator', 'AutoMinorLocator',)
2011+
'MultipleLocator', 'MaxNLocator', 'AutoMinorLocator',
2012+
'SymmetricalLogLocator')

0 commit comments

Comments
 (0)