-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtest.py
26 lines (18 loc) · 1.04 KB
/
test.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from pycovid import pycovid
# pycovid.plot_countries_trend(countries=['Italy', 'Japan', 'US', 'Germany', 'Portugal', 'Bulgaria', 'Spain', 'Sweden'],
# casetype=['confirmed'], cumulative=True, start_date="2020-01-01", plottype="linear")
# pycovid.plot_countries_trend(countries=['Canada'],
# casetype=['confirmed'], cumulative=True, start_date="2020-01-01", plottype="linear")
# pycovid.plot_provinces(country=['China'],
# casetype=['confirmed'], start_date="2019-10-01", plottype="linear",
# proportion=False, cumulative=True)
# pycovid.plot_provinces(country=['Australia'],
# casetype=['confirmed'], start_date="2019-12-01", plottype="linear",
# proportion=True, cumulative=True)
# pycovid.plot_provinces(country=['US'],
# casetype=['confirmed'], start_date="2019-12-01", plottype="linear",
# proportion=True, cumulative=True)
pycovid.plot_provinces(country=['Canada'],
casetype=['confirmed'], start_date="2019-12-01", plottype="log",
proportion=False, cumulative=True)
# pycovid.plot_countries(metric='log_confirmed')