From 990f4c094c38d154c6e5329a680bd11ad81098f4 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Sun, 25 Aug 2019 20:05:00 +0100 Subject: [PATCH] Add inheritance diagram to mpl.ticker --- doc/api/ticker_api.rst | 4 ++++ lib/matplotlib/ticker.py | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/api/ticker_api.rst b/doc/api/ticker_api.rst index 8da9ac2988f0..652050dafedc 100644 --- a/doc/api/ticker_api.rst +++ b/doc/api/ticker_api.rst @@ -6,3 +6,7 @@ :members: :undoc-members: :show-inheritance: + + +.. inheritance-diagram:: matplotlib.ticker + :parts: 1 diff --git a/lib/matplotlib/ticker.py b/lib/matplotlib/ticker.py index fa4cea7b5c3e..0c936d2079f1 100644 --- a/lib/matplotlib/ticker.py +++ b/lib/matplotlib/ticker.py @@ -181,10 +181,11 @@ 'LogFormatterExponent', 'LogFormatterMathtext', 'IndexFormatter', 'LogFormatterSciNotation', 'LogitFormatter', 'EngFormatter', 'PercentFormatter', + 'OldScalarFormatter', 'Locator', 'IndexLocator', 'FixedLocator', 'NullLocator', 'LinearLocator', 'LogLocator', 'AutoLocator', 'MultipleLocator', 'MaxNLocator', 'AutoMinorLocator', - 'SymmetricalLogLocator', 'LogitLocator') + 'SymmetricalLogLocator', 'LogitLocator', 'OldAutoLocator') def _mathdefault(s):