diff --git a/doc/api/ticker_api.rst b/doc/api/ticker_api.rst index 12214161c330..dae66cf07394 100644 --- a/doc/api/ticker_api.rst +++ b/doc/api/ticker_api.rst @@ -4,7 +4,7 @@ ticker :mod:`matplotlib.ticker` -========================== +======================== .. automodule:: matplotlib.ticker :members: diff --git a/lib/matplotlib/ticker.py b/lib/matplotlib/ticker.py index 69075fd9595a..46e6ad070c6a 100644 --- a/lib/matplotlib/ticker.py +++ b/lib/matplotlib/ticker.py @@ -115,6 +115,9 @@ :class:`FuncFormatter` user defined function sets the labels +:class:`StrMethodFormatter` + Use string `format` method + :class:`FormatStrFormatter` use a sprintf format string @@ -1991,8 +1994,8 @@ def get_locator(self, d): __all__ = ('TickHelper', 'Formatter', 'FixedFormatter', 'NullFormatter', 'FuncFormatter', 'FormatStrFormatter', - 'ScalarFormatter', 'LogFormatter', 'LogFormatterExponent', - 'LogFormatterMathtext', 'Locator', 'IndexLocator', - 'FixedLocator', 'NullLocator', 'LinearLocator', - 'LogLocator', 'AutoLocator', 'MultipleLocator', - 'MaxNLocator', 'AutoMinorLocator',) + 'StrMethodFormatter', 'ScalarFormatter', 'LogFormatter', + 'LogFormatterExponent', 'LogFormatterMathtext', 'Locator', + 'IndexLocator', 'FixedLocator', 'NullLocator', + 'LinearLocator', 'LogLocator', 'AutoLocator', + 'MultipleLocator', 'MaxNLocator', 'AutoMinorLocator',)