Commit 52c153fa authored by Theophile Terraz's avatar Theophile Terraz
Browse files

debug water fill

No related merge requests found
Pipeline #62467 passed with stages
in 9 minutes and 3 seconds
Showing with 5 additions and 0 deletions
+5 -0
......@@ -57,6 +57,9 @@ class PlotRKC(PamhyrPlot):
self._isometric_axis = False
self._auto_relim_update = True
self._autoscale_update = True
@property
def results(self):
return self.data
......@@ -229,6 +232,7 @@ class PlotRKC(PamhyrPlot):
self.water_fill = self.canvas.axes.fill_between(
rk, self._river_bottom, water_z,
where=[b <= z for b, z in zip(self._river_bottom, water_z)],
color=self.color_plot_river_water_zone,
alpha=0.7,
interpolate=True
......@@ -361,6 +365,7 @@ class PlotRKC(PamhyrPlot):
self.water_fill.remove()
self.water_fill = self.canvas.axes.fill_between(
rk, self._river_bottom, water_z,
where=[rb <= wz for rb, wz in zip(self._river_bottom, water_z)],
color=self.color_plot_river_water_zone,
alpha=0.7, interpolate=True
)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment