diff --git a/src/xtgeo/plot/grid3d_slice.py b/src/xtgeo/plot/grid3d_slice.py index 1452bdb07..8a4a38038 100644 --- a/src/xtgeo/plot/grid3d_slice.py +++ b/src/xtgeo/plot/grid3d_slice.py @@ -2,8 +2,8 @@ import matplotlib.pyplot as plt -from matplotlib.patches import Polygon from matplotlib.collections import PatchCollection +from matplotlib.patches import Polygon from xtgeo.common import XTGeoDialog from xtgeo.plot.baseplot import BasePlot @@ -175,7 +175,7 @@ def _plot_layer(self): for pos in range(len(ibn)): nppol = xyc[pos, :, :] if nppol.mean() > 0.0: - polygon = Polygon(nppol, True) + polygon = Polygon(nppol) patches.append(polygon) patchcoll = PatchCollection(