debug custom plot (time)

This commit is contained in:
Theophile Terraz committed 2025-02-17 10:02:44 +01:00
1 parent 4b976d3b5f
commit 1adec8f528
1 file changed
+2
+2
View File
@@ -1285,8 +1285,10 @@ class CustomPlot(PamhyrPlot):
self.lines["wet_area"][0].set_ydata(d)
self._current.set_visible(False)
self.canvas.axes.relim(visible_only=True)
self.canvas.axes.autoscale_view()
self._current.set_visible(True)
def draw(self):
self.draw_static()