add axis labels

This commit is contained in:
fordprefect
2020-03-30 12:45:14 +02:00
parent fddeff3ff9
commit bf408b7583
4 changed files with 6 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ def plot(data, countries):
pp.plot(time, np.array(total_deaths)/np.array(total_cases), label=f"{loc}", marker=".")
pp.yscale("log")
pp.ylabel("relative deaths")
pp.xticks(rotation=45)
pp.legend(frameon=False)
pp.tight_layout()