Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a97c67c

Browse files
committed
fix pep8
1 parent 4c2f76e commit a97c67c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/matplotlib/ticker.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,7 @@ def pprint_val(self, x, d):
742742
s = s.rstrip('0').rstrip('.')
743743
return s
744744

745+
745746
class LogFormatterExponent(LogFormatter):
746747
"""
747748
Format values for log axis; using ``exponent = log_base(value)``
@@ -823,6 +824,7 @@ def __call__(self, x, pos=None):
823824
base,
824825
nearest_long(fx))
825826

827+
826828
class LogFormatterSciNotation(LogFormatterMathtext):
827829
"""
828830
Format values following scientific notation in a logarithmic axis
@@ -846,6 +848,7 @@ def _non_decade_format(self, sign_string, base, fx, usetex):
846848
return (r'$\mathdefault{%g\times%s^{%d}}$') % \
847849
(coeff, base, exponent)
848850

851+
849852
class LogitFormatter(Formatter):
850853
'''Probability formatter (using Math text)'''
851854
def __call__(self, x, pos=None):

0 commit comments

Comments
 (0)