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

Skip to content

Commit a73cd6e

Browse files
committed
Merge pull request #3672 from jenshnielsen/pep8_fixes
PEP8 : Python3 pep8 fixes
2 parents dcc39c6 + 405d6c6 commit a73cd6e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

examples/api/date_index_formatter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import matplotlib.ticker as ticker
1212

1313
datafile = cbook.get_sample_data('aapl.csv', asfileobj=False)
14-
print ('loading %s' % datafile)
14+
print('loading %s' % datafile)
1515
r = mlab.csv2rec(datafile)
1616

1717
r.sort()

examples/api/watermark_image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import matplotlib.pyplot as plt
99

1010
datafile = cbook.get_sample_data('logo2.png', asfileobj=False)
11-
print ('loading %s' % datafile)
11+
print('loading %s' % datafile)
1212
im = image.imread(datafile)
1313
im[:, :, -1] = 0.5 # set the alpha channel
1414

0 commit comments

Comments
 (0)