From: Francois Fleuret Date: Thu, 12 Mar 2020 13:20:26 +0000 (+0100) Subject: Fixed source url. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=65d1b3f2d428743f157e4180306adbad7829cba2;p=python.git Fixed source url. --- diff --git a/covid19.py b/covid19.py index b377458..e633b03 100755 --- a/covid19.py +++ b/covid19.py @@ -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') ######################################################################