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

Skip to content

Commit 007754c

Browse files
committed
minor pep8 fix
1 parent 469e267 commit 007754c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/finance.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,8 @@ def fetch_historical_yahoo(ticker, date1, date2, cachename=None,
392392
else:
393393
g = 'd'
394394

395-
urlFmt = 'http://ichart.yahoo.com/table.csv?a=%d&b=%d&c=%d&d=%d&e=%d&f=%d&s=%s&y=0&g=%s&ignore=.csv'
395+
urlFmt = ('http://ichart.yahoo.com/table.csv?a=%d&b=%d&' +
396+
'c=%d&d=%d&e=%d&f=%d&s=%s&y=0&g=%s&ignore=.csv')
396397

397398
url = urlFmt % (d1[0], d1[1], d1[2],
398399
d2[0], d2[1], d2[2], ticker, g)

0 commit comments

Comments
 (0)