8
8
9
9
from matplotlib .cbook import dedent
10
10
from matplotlib .ticker import (NullFormatter , ScalarFormatter ,
11
- LogFormatterSciNotation , LogitFormatter )
11
+ LogFormatterMathtext , LogitFormatter )
12
12
from matplotlib .ticker import (NullLocator , LogLocator , AutoLocator ,
13
13
SymmetricalLogLocator , LogitLocator )
14
14
from matplotlib .transforms import Transform , IdentityTransform
@@ -304,9 +304,9 @@ def set_default_locators_and_formatters(self, axis):
304
304
log scaling.
305
305
"""
306
306
axis .set_major_locator (LogLocator (self .base ))
307
- axis .set_major_formatter (LogFormatterSciNotation (self .base ))
307
+ axis .set_major_formatter (LogFormatterMathtext (self .base ))
308
308
axis .set_minor_locator (LogLocator (self .base , self .subs ))
309
- axis .set_minor_formatter (LogFormatterSciNotation ( self . base ))
309
+ axis .set_minor_formatter (NullFormatter ( ))
310
310
311
311
def get_transform (self ):
312
312
"""
@@ -462,10 +462,10 @@ def set_default_locators_and_formatters(self, axis):
462
462
symmetrical log scaling.
463
463
"""
464
464
axis .set_major_locator (SymmetricalLogLocator (self .get_transform ()))
465
- axis .set_major_formatter (LogFormatterSciNotation (self .base ))
465
+ axis .set_major_formatter (LogFormatterMathtext (self .base ))
466
466
axis .set_minor_locator (SymmetricalLogLocator (self .get_transform (),
467
467
self .subs ))
468
- axis .set_minor_formatter (LogFormatterSciNotation ( self . base ))
468
+ axis .set_minor_formatter (NullFormatter ( ))
469
469
470
470
def get_transform (self ):
471
471
"""
0 commit comments