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):