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

Skip to content

Commit f9a87e5

Browse files
authored
STY: fix bad indentation
1 parent 25b6c53 commit f9a87e5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/mpl_toolkits/exceltools.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ def xlformat_factory(format):
5555

5656
xlstyle = excel.XFStyle()
5757
if isinstance(format, mlab.FormatPercent):
58-
zeros = ''.join(['0']*format.precision)
59-
xlstyle.num_format_str = '0.%s%%;[RED]-0.%s%%'%(zeros, zeros)
60-
format.scale = 1.
58+
zeros = ''.join(['0']*format.precision)
59+
xlstyle.num_format_str = '0.%s%%;[RED]-0.%s%%'%(zeros, zeros)
60+
format.scale = 1.
6161
elif isinstance(format, mlab.FormatFloat):
6262
if format.precision>0:
6363
zeros = ''.join(['0']*format.precision)

0 commit comments

Comments
 (0)