From 19c5b92db048264829b05d8ba655e636eaa006d2 Mon Sep 17 00:00:00 2001 From: simon Date: Sun, 23 Oct 2022 16:56:00 +0700 Subject: [PATCH] close monthly plts --- web/src/graph_monthly.py | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/graph_monthly.py b/web/src/graph_monthly.py index a59756d..fbacf5f 100644 --- a/web/src/graph_monthly.py +++ b/web/src/graph_monthly.py @@ -197,6 +197,7 @@ class MonthGenerator(): plt.tight_layout() plt.savefig(file_name, dpi=300) plt.figure() + plt.close() @staticmethod def get_aqi(val):