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

Skip to content

Commit 70b54aa

Browse files
committed
Merge pull request #4265 from tacaswell/ticker_docs
DOC/API : StrMethodFormatter
2 parents 92c50d1 + 5d90e9d commit 70b54aa

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

doc/api/ticker_api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ticker
44

55

66
:mod:`matplotlib.ticker`
7-
==========================
7+
========================
88

99
.. automodule:: matplotlib.ticker
1010
:members:

lib/matplotlib/ticker.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@
115115
:class:`FuncFormatter`
116116
user defined function sets the labels
117117
118+
:class:`StrMethodFormatter`
119+
Use string `format` method
120+
118121
:class:`FormatStrFormatter`
119122
use a sprintf format string
120123
@@ -1991,8 +1994,8 @@ def get_locator(self, d):
19911994

19921995
__all__ = ('TickHelper', 'Formatter', 'FixedFormatter',
19931996
'NullFormatter', 'FuncFormatter', 'FormatStrFormatter',
1994-
'ScalarFormatter', 'LogFormatter', 'LogFormatterExponent',
1995-
'LogFormatterMathtext', 'Locator', 'IndexLocator',
1996-
'FixedLocator', 'NullLocator', 'LinearLocator',
1997-
'LogLocator', 'AutoLocator', 'MultipleLocator',
1998-
'MaxNLocator', 'AutoMinorLocator',)
1997+
'StrMethodFormatter', 'ScalarFormatter', 'LogFormatter',
1998+
'LogFormatterExponent', 'LogFormatterMathtext', 'Locator',
1999+
'IndexLocator', 'FixedLocator', 'NullLocator',
2000+
'LinearLocator', 'LogLocator', 'AutoLocator',
2001+
'MultipleLocator', 'MaxNLocator', 'AutoMinorLocator',)

0 commit comments

Comments
 (0)