Skip to content

Commit 341ef3a

Browse files
committed
Use Agg backend in plotting tests
1 parent 07ac6a3 commit 341ef3a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_plot.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
import pytest
55
import numpy as np
66

7+
import matplotlib
8+
matplotlib.use("Agg")
79
import matplotlib.pyplot as plt
810
import cartopy.crs as ccrs
911

0 commit comments

Comments
 (0)