8000 Merge pull request #9441 from cgohlke/patch-12 · matplotlib/matplotlib@a959c37 · GitHub
[go: up one dir, main page]

Skip to content

Commit a959c37

Browse files
authored
Merge pull request #9441 from cgohlke/patch-12
STY: fix bad indentation
2 parents e6448ba + f9a87e5 commit a959c37

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

lib/matplotlib/animation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1814,7 +1814,7 @@ def _draw_frame(self, framedata):
18141814
self._drawn_artists = self._func(framedata, *self._args)
18151815
if self._blit:
18161816
if self._drawn_artists is None:
1817-
raise RuntimeError('The animation function must return a '
1818-
'sequence of Artist objects.')
1817+
raise RuntimeError('The animation function must return a '
1818+
'sequence of Artist objects.')
18191819
for a in self._drawn_artists:
18201820
a.set_animated(self._blit)

lib/matplotlib/lines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ def get_markeredgecolor(self):
877877
if self._marker.get_marker() in ('.', ','):
878878
return self._color
879879
if self._marker.is_filled() and self.get_fillstyle() != 'none':
880-
return 'k' # Bad hard-wired default...
880+
return 'k' # Bad hard-wired default...
881881
return self._color
882882
else:
883883
return mec

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)
0