diff --git a/lib/matplotlib/scale.py b/lib/matplotlib/scale.py index 04dea31e2177..8784ca495905 100644 --- a/lib/matplotlib/scale.py +++ b/lib/matplotlib/scale.py @@ -306,7 +306,7 @@ def set_default_locators_and_formatters(self, axis): axis.set_major_locator(LogLocator(self.base)) axis.set_major_formatter(LogFormatterSciNotation(self.base)) axis.set_minor_locator(LogLocator(self.base, self.subs)) - axis.set_minor_formatter(LogFormatterSciNotation(self.base)) + axis.set_minor_formatter(NullFormatter()) def get_transform(self): """ diff --git a/lib/matplotlib/tests/baseline_images/test_axes/log_scales.pdf b/lib/matplotlib/tests/baseline_images/test_axes/log_scales.pdf index 03284a4e4ee0..c76b653c33fb 100644 Binary files a/lib/matplotlib/tests/baseline_images/test_axes/log_scales.pdf and b/lib/matplotlib/tests/baseline_images/test_axes/log_scales.pdf differ diff --git a/lib/matplotlib/tests/baseline_images/test_axes/log_scales.png b/lib/matplotlib/tests/baseline_images/test_axes/log_scales.png index 92d8776d6cc4..876b47caedb6 100644 Binary files a/lib/matplotlib/tests/baseline_images/test_axes/log_scales.png and b/lib/matplotlib/tests/baseline_images/test_axes/log_scales.png differ diff --git a/lib/matplotlib/tests/baseline_images/test_axes/log_scales.svg b/lib/matplotlib/tests/baseline_images/test_axes/log_scales.svg index c6efd3710792..2e63e7be1870 100644 --- a/lib/matplotlib/tests/baseline_images/test_axes/log_scales.svg +++ b/lib/matplotlib/tests/baseline_images/test_axes/log_scales.svg @@ -27,7 +27,7 @@ z " style="fill:#ffffff;"/> - +" id="m2d42ea062d" style="stroke:#000000;stroke-width:0.5;"/> - + +" id="mce14a3a785" style="stroke:#000000;stroke-width:0.5;"/> - + @@ -181,12 +181,12 @@ Q 19.53125 74.21875 31.78125 74.21875 - + - + @@ -215,12 +215,12 @@ z - + - + @@ -261,241 +261,176 @@ Q 31.109375 20.453125 19.1875 8.296875 +" id="m310b554b32" style="stroke:#000000;stroke-width:0.5;"/> - + +" id="me84c97a1b3" style="stroke:#000000;stroke-width:0.5;"/> - + - + - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + @@ -506,23 +441,23 @@ z +" id="m6ac496e2fb" style="stroke:#000000;stroke-width:0.5;"/> - + +" id="m6d16c3a0fe" style="stroke:#000000;stroke-width:0.5;"/> - + - + - + - + - + @@ -595,15 +530,15 @@ z - + - + - + @@ -618,127 +553,104 @@ z +" id="ma7bd944016" style="stroke:#000000;stroke-width:0.5;"/> - + +" id="m7257b05db7" style="stroke:#000000;stroke-width:0.5;"/> - - - - - - - - - - - - - + - + - + - + - + - + - + - + - - - - - - - - - - - - + - + - + - + - + - + - + @@ -746,7 +658,7 @@ L -2 0 - +