mirror of https://gitlab.com/pamhyr/pamhyr2
parent
4b976d3b5f
commit
e6aa840633
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue