add axis labels
This commit is contained in:
@@ -18,6 +18,8 @@ def plot(data, countries):
|
||||
pp.plot(new_time_axis, np.array(total_cases), label=f"{loc}", marker=".")
|
||||
|
||||
pp.yscale("log")
|
||||
pp.ylabel("total cases")
|
||||
pp.xlabel("day since first reported death")
|
||||
pp.xticks(rotation=45)
|
||||
pp.legend(frameon=False)
|
||||
pp.tight_layout()
|
||||
|
||||
Reference in New Issue
Block a user