From c0bd2c8f69b77a74813bc40c5b345dcdb6ce2e11 Mon Sep 17 00:00:00 2001 From: "Marios S. Kyriakou" Date: Wed, 23 Aug 2023 20:02:12 +0300 Subject: [PATCH] use TkAgg to avoid some warnings. --- epyt/epanet.py | 1 + 1 file changed, 1 insertion(+) diff --git a/epyt/epanet.py b/epyt/epanet.py index 0c7d3be..05d6116 100644 --- a/epyt/epanet.py +++ b/epyt/epanet.py @@ -63,6 +63,7 @@ from shutil import copyfile from matplotlib import cm import matplotlib as mpl +mpl.use('TkAgg') from pathlib import Path import pandas as pd import numpy as np