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

Skip to content

Commit de46378

Browse files
committed
added missing '&'s (stupid mistake)
1 parent f47c69e commit de46378

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/finance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def fetch_historical_yahoo(ticker, date1, date2, cachename=None,
339339
g = 'd'
340340

341341
urlFmt = ('http://real-chart.finance.yahoo.com/table.csv?' +
342-
's=%s&d=%d&e=%df=%d&g=%s&a=%d&b=%d&c=%d&ignore=.csv')
342+
'&s=%s&d=%d&e=%d&f=%d&g=%s&a=%d&b=%d&c=%d&ignore=.csv')
343343

344344
url = urlFmt % (ticker, d2[0], d2[1], d2[2], g, d1[0], d1[1], d1[2])
345345
# Cache the finance data if cachename is supplied, or there is a writable

0 commit comments

Comments
 (0)