From 45f9b7d71673d4d87cce67de2e52a4a01310116d Mon Sep 17 00:00:00 2001 From: fordprefect Date: Sat, 21 Mar 2020 21:01:01 +0100 Subject: [PATCH] also markers --- normalized_to_first_death.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/normalized_to_first_death.py b/normalized_to_first_death.py index 2bb0d6f..584e0f2 100644 --- a/normalized_to_first_death.py +++ b/normalized_to_first_death.py @@ -14,10 +14,10 @@ def plot(data, countries): pp.figure(name) day_of_first_death = np.argwhere(np.array(total_deaths) > 0)[0][0] new_time_axis = np.arange(len(time)) - day_of_first_death - pp.plot(new_time_axis, np.array(total_cases), label=f"{loc}") + pp.plot(new_time_axis, np.array(total_cases), label=f"{loc}", marker=".") pp.yscale("log") - pp.xticks(rotation=90) + pp.xticks(rotation=45) pp.legend(frameon=False) pp.tight_layout()