Skip to content

Commit 80fba4d

Browse files
committed
BUG: correct xsectplot due to unintended change in previous refacoring
1 parent fd1fbd8 commit 80fba4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xtgeoviz/plot/xsection.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ def plot_well(
378378

379379
# reduce the well data by Pandas operations
380380
dfr = self._well.get_dataframe(copy=False)
381-
dfr = dfr[dfr["Z_TVDSS"] > self._zmin]
381+
self._well.set_dataframe(dfr[dfr["Z_TVDSS"] > self._zmin])
382382

383383
# Create a relative XYLENGTH vector (0.0 where well starts)
384384
self._well.create_relative_hlen()

0 commit comments

Comments
 (0)