We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 450ab18 commit be61130Copy full SHA for be61130
1 file changed
climada/engine/test/test_forecast.py
@@ -25,9 +25,11 @@
25
26
import fiona
27
import geopandas as gpd
28
+import matplotlib
29
import matplotlib.pyplot as plt
30
import numpy as np
31
from cartopy.io import shapereader
32
+from packaging.version import Version
33
34
from climada import CONFIG
35
from climada.engine.forecast import FORECAST_PLOT_DIR, Forecast
@@ -106,6 +108,10 @@ def test_Forecast_init_raise(self):
106
108
class TestPlot(unittest.TestCase):
107
109
"""Test plotting functions from the Forecast class"""
110
111
+ @unittest.skipIf(
112
+ Version(matplotlib.__version__) > Version("3.10"),
113
+ "Matplotlib shapely issue for this plot function",
114
+ )
115
def test_Forecast_plot(self):
116
"""Test cplotting functions from the Forecast class"""
117
## given a forecast based on hazard exposure and vulnerability
0 commit comments