Fixed source url.
authorFrancois Fleuret <francois@fleuret.org>
Thu, 12 Mar 2020 13:20:26 +0000 (14:20 +0100)
committerFrancois Fleuret <francois@fleuret.org>
Thu, 12 Mar 2020 13:20:26 +0000 (14:20 +0100)
covid19.py

index b377458..e633b03 100755 (executable)
@@ -6,7 +6,7 @@ import matplotlib.pyplot as plt
 import matplotlib.dates as mdates
 import urllib.request
 
-url = 'https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_19-covid-Confirmed.csv'
+url = 'https://github.com/CSSEGISandData/COVID-19/raw/master/csse_covid_19_data/csse_covid_19_time_series/time_series_19-covid-Confirmed.csv'
 
 file = 'time_series_19-covid-Confirmed.csv'
 
@@ -70,6 +70,6 @@ for key, color, label, delta in [
 ax.legend(frameon = False)
 
 plt.show()
-# fig.savefig('covid19.svg')
+fig.savefig('covid19.png')
 
 ######################################################################