Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f9a87e5

Browse filesBrowse files
authored
STY: fix bad indentation
1 parent 25b6c53 commit f9a87e5
Copy full SHA for f9a87e5

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎lib/mpl_toolkits/exceltools.py

Copy file name to clipboardExpand all lines: lib/mpl_toolkits/exceltools.py
+3-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.