8000 pep8 changes · matplotlib/matplotlib@a6111ca · GitHub
[go: up one dir, main page]

Skip to content

Commit a6111ca

Browse files
committed
pep8 changes
1 parent d518f2c commit a6111ca

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

examples/pylab_examples/plotfile_demo.py

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,8 @@
1313
plt.plotfile(fname, ('date', 'volume', 'adj_close'))
1414

1515
# test 3; use semilogy for volume
16-
plt.plotfile(
17-
fname,
18-
('date',
19-
'volume',
20-
'adj_close'),
21-
plotfuncs={
22-
'volume': 'semilogy'})
16+
plt.plotfile(fname, ('date', 'volume', 'adj_close'),
17+
plotfuncs={'volume': 'semilogy'})
2318

2419
# test 4; use semilogy for volume
2520
plt.plotfile(fname, (0, 5, 6), plotfuncs={5: 'semilogy'})
@@ -33,11 +28,8 @@
3328

3429
# test 7; more than one file per figure--illustrated here with a single file
3530
plt.plotfile(fname2, cols=(0, 1), delimiter=' ')
36-
plt.plotfile(
37-
fname2,
38-
cols=(0, 2),
39-
newfig=False,
40-
delimiter=' ') # use current figure
31+
plt.plotfile(fname2, cols=(0, 2), newfig=False,
32+
delimiter=' ') # use current figure
4133
plt.xlabel(r'$x$')
4234
plt.ylabel(r'$f(x) = x^2, x^3$')
4335

0 commit comments

Comments
 (0)
0