From d6eb3ffe3fef9614ac93e193c81ba2eb0b01c207 Mon Sep 17 00:00:00 2001 From: maxburtis Date: Wed, 26 Oct 2022 16:15:26 -0400 Subject: [PATCH] added a line of code to overlay date onto plot --- src/scatters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scatters.py b/src/scatters.py index 21ba4b2..108e417 100644 --- a/src/scatters.py +++ b/src/scatters.py @@ -53,7 +53,7 @@ def scatter(month): for area_scl in [0.5, 2, 4]: ax.scatter([], [], s = plot_scl*area_scl, c = "gray", alpha = 0.5, label = str(area_scl) + 'M') ax.legend(loc = (1.05, 0.3), title="Population (Millions)", labelspacing = 1.5, borderpad = 1) - + plt.text(30, 200, month, fontsize = 30).set_alpha(.4) plt.tight_layout() plt.savefig('img/'+month+'.png')