From 76ab9de721f89f1ee8e35b012bc5c5cf487af97b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hans=20Moritz=20G=C3=BCnther?= Date: Wed, 14 Sep 2016 11:14:33 -0400 Subject: [PATCH 1/2] Typos in ticker.py - `..` instead of `.` - One class is referenced twice in the list. --- lib/matplotlib/ticker.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/matplotlib/ticker.py b/lib/matplotlib/ticker.py index 84192c7b9e26..97de02e340de 100644 --- a/lib/matplotlib/ticker.py +++ b/lib/matplotlib/ticker.py @@ -6,7 +6,7 @@ locating and formatting. Although the locators know nothing about major or minor ticks, they are used by the Axis class to support major and minor tick locating and formatting. Generic tick locators and -formatters are provided, as well as domain specific custom ones.. +formatters are provided, as well as domain specific custom ones. Default Formatter @@ -135,9 +135,6 @@ :class:`EngFormatter` Format labels in engineering notation -:class:`EngFormatter` - Format labels in engineering notation - :class:`PercentFormatter` Format labels as a percentage From 42eb60bdae215b01aa7e630e9bffb287ba33fb3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hans=20Moritz=20G=C3=BCnther?= Date: Wed, 14 Sep 2016 11:38:05 -0400 Subject: [PATCH 2/2] Add missing tickers and locators to docs --- lib/matplotlib/ticker.py | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/lib/matplotlib/ticker.py b/lib/matplotlib/ticker.py index 97de02e340de..9a4979e89ad9 100644 --- a/lib/matplotlib/ticker.py +++ b/lib/matplotlib/ticker.py @@ -80,6 +80,9 @@ tick interval into a specified number of minor intervals, defaulting to 4 or 5 depending on the major interval. +:class:`LogitLocator` + Locator for logit scaling. + There are a number of locators specialized for date locations - see the dates module @@ -132,6 +135,19 @@ :class:`LogFormatter` Formatter for log axes +:class:`LogFormatterExponent` + Format values for log axis using ``exponent = log_base(value)``. + +:class:`LogFormatterMathtext` + Format values for log axis using ``exponent = log_base(value)`` + using Math text. + +:class:`LogFormatterSciNotation` + Format values for log axis using scientific notation. + +:class:`LogitFormatter` + Probability formatter. + :class:`EngFormatter` Format labels in engineering notation @@ -177,11 +193,12 @@ 'NullFormatter', 'FuncFormatter', 'FormatStrFormatter', 'StrMethodFormatter', 'ScalarFormatter', 'LogFormatter', 'LogFormatterExponent', 'LogFormatterMathtext', + 'IndexFormatter', 'LogFormatterSciNotation', 'LogitFormatter', 'EngFormatter', 'PercentFormatter', 'Locator', 'IndexLocator', 'FixedLocator', 'NullLocator', 'LinearLocator', 'LogLocator', 'AutoLocator', 'MultipleLocator', 'MaxNLocator', 'AutoMinorLocator', - 'SymmetricalLogLocator') + 'SymmetricalLogLocator', 'LogitLocator') if six.PY3: