From bd34de573ceb6aad2154dbd56f0e63a3e32f5dc8 Mon Sep 17 00:00:00 2001 From: Dustin Pianalto Date: Fri, 4 May 2018 10:40:49 -0800 Subject: [PATCH] Add map location --- exts/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exts/utils.py b/exts/utils.py index 9da8468..5d041ed 100644 --- a/exts/utils.py +++ b/exts/utils.py @@ -592,7 +592,7 @@ class Utils: draw_map(m) x, y = m(lon, lat) plt.plot(x, y, 'ok', markersize=5, color='red') - plt.text(x, y, ' Palmer', fontsize=12, color='red') + plt.text(x, y, f' {location.title()}', fontsize=12, color='red') plt.tight_layout() img = BytesIO()