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

Skip to content

Commit a97c450

Browse files
author
Steve Chaplin
committed
SC 25/06/2004
svn path=/trunk/matplotlib/; revision=362
1 parent af42e6b commit a97c450

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

CHANGELOG

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
New entries should be added at the top
22
=======
33

4+
2004-06-25 finance.py: handle case when urlopen() fails
5+
46
2004-06-24 Support for multiple images on axes and figure, with
57
blending. Support for upper and lower image origins.
68
clim, jet and gray functions in matlab interface operate on

examples/finance_demo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424

2525
quotes = quotes_historical_yahoo(
2626
'INTC', date1, date2, converter)
27+
if not quotes:
28+
raise SystemExit
2729

2830
ax = subplot(111)
2931
ax.xaxis.set_major_locator(mondays)

0 commit comments

Comments
 (0)