Skip to content

Commit 19dbc21

Browse files
committed
for windows test : Use Non-GUI Backend for Matplotlib in Tests
1 parent 1804b8d commit 19dbc21

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_plots.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
from iglu_python.extension.plots import plot_daily, plot_statistics
1212
from iglu_python import load_libre
1313

14+
import matplotlib
15+
matplotlib.use('Agg')
1416

1517
@pytest.fixture(scope="module")
1618
def sample_cgm_data():

0 commit comments

Comments
 (0)