File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ # CovidPlot
2
+ An easy way to plot COVID-19 info.
3
+
4
+ ### Sofware (for developers)
5
+
6
+ [ Get the last version of this software here] ( https://github.com/PythonForChange/CovidPlot/blob/main/covidPlot.py ) .
7
+ CovidPlot
8
+
9
+ ### Installation
10
+ #### Option 1: Use pip (recommended, last stable version)
11
+ 1 . Install pyforchange
12
+ ```
13
+ pip install pyforchange
14
+ ```
15
+ 2 . Import covidPlot in your python file
16
+ ``` python
17
+ import pyforchange.covidPlot
18
+ ```
19
+ 3 . Enjoy!
20
+
21
+ #### Option 2: Download the source (unstable pre-realise version)
22
+ 1 . Download [ covidPlot] ( covidPlot.py ) into your proyect folder
23
+ 2 . Import covidPlot in your python file
24
+ ``` python
25
+ import covidPlot
26
+ ```
27
+ 3 . Enjoy!
28
+
29
+ ### Usage
30
+ Import covidPlot and define datasets.
31
+ ``` python
32
+ from pyforchange.covidPlot import *
33
+
34
+ chile= CovidData()
35
+ usa= CovidData(' United States' )
36
+ ```
37
+
38
+ Plot the parameters you want for each dataset.
39
+ ``` python
40
+ chile.plot(' new_vaccinations_smoothed_per_million' )
41
+
42
+ chile.plot(" casos" )
43
+
44
+ usa.plot(" new_cases" )
45
+
46
+ chile.plot(" vacunas" )
47
+
48
+ usa.plot(" total_cases" )
49
+ ```
You can’t perform that action at this time.
0 commit comments