Fixed source url.
[python.git] / 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')
 
 ######################################################################