From 0b3f63cc4bb79c0d77f654cfd9a961fc14f5654b Mon Sep 17 00:00:00 2001 From: Till Stensitzki Date: Sun, 25 Oct 2015 01:16:05 +0200 Subject: [PATCH 1/2] Fix the minotick-fix Sorry I messed up it last time. --- lib/matplotlib/axes/_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/axes/_base.py b/lib/matplotlib/axes/_base.py index b3b98c04607f..04e6245c70bb 100644 --- a/lib/matplotlib/axes/_base.py +++ b/lib/matplotlib/axes/_base.py @@ -3222,7 +3222,7 @@ def minorticks_on(self): ax.set_minor_locator(mticker.LogLocator(s.base, s.subs)) elif scale == 'symlog': s = ax._scale - ax.set_minor_locator(mticker.SymLogLocator(s.base, s.subs)) + ax.set_minor_locator(mticker.SymmetricalLogLocator(s.base, s.subs)) else: ax.set_minor_locator(mticker.AutoMinorLocator()) From 0810b9d57bc06e2f92d9cd1e6f6024f1dd1e133c Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Mon, 26 Oct 2015 17:29:07 -0400 Subject: [PATCH 2/2] STY: pep8 fix --- lib/matplotlib/axes/_base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/matplotlib/axes/_base.py b/lib/matplotlib/axes/_base.py index 04e6245c70bb..e8f161ece595 100644 --- a/lib/matplotlib/axes/_base.py +++ b/lib/matplotlib/axes/_base.py @@ -3222,7 +3222,8 @@ def minorticks_on(self): ax.set_minor_locator(mticker.LogLocator(s.base, s.subs)) elif scale == 'symlog': s = ax._scale - ax.set_minor_locator(mticker.SymmetricalLogLocator(s.base, s.subs)) + ax.set_minor_locator( + mticker.SymmetricalLogLocator(s.base, s.subs)) else: ax.set_minor_locator(mticker.AutoMinorLocator())