debug custom plot (time)

terraz_dev v1.2.0rc1
Theophile Terraz 2025-02-17 10:02:44 +01:00
parent 4b976d3b5f
commit e6aa840633
1 changed files with 2 additions and 0 deletions

View File

@ -1285,8 +1285,10 @@ class CustomPlot(PamhyrPlot):
self.lines["wet_area"][0].set_ydata(d) self.lines["wet_area"][0].set_ydata(d)
self._current.set_visible(False)
self.canvas.axes.relim(visible_only=True) self.canvas.axes.relim(visible_only=True)
self.canvas.axes.autoscale_view() self.canvas.axes.autoscale_view()
self._current.set_visible(True)
def draw(self): def draw(self):
self.draw_static() self.draw_static()