From 80fba4d2e48b65b1a2de8c77df9ba465906cb09b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20C=2E=20Riven=C3=A6s?= Date: Mon, 16 Sep 2024 10:37:19 +0200 Subject: [PATCH] BUG: correct xsectplot due to unintended change in previous refacoring --- src/xtgeoviz/plot/xsection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xtgeoviz/plot/xsection.py b/src/xtgeoviz/plot/xsection.py index 333e9a8..9e5e578 100644 --- a/src/xtgeoviz/plot/xsection.py +++ b/src/xtgeoviz/plot/xsection.py @@ -378,7 +378,7 @@ def plot_well( # reduce the well data by Pandas operations dfr = self._well.get_dataframe(copy=False) - dfr = dfr[dfr["Z_TVDSS"] > self._zmin] + self._well.set_dataframe(dfr[dfr["Z_TVDSS"] > self._zmin]) # Create a relative XYLENGTH vector (0.0 where well starts) self._well.create_relative_hlen()