mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
debug custom plot (time)
This commit is contained in:
1 parent
4b976d3b5f
commit
e6aa840633
1 file changed
+2
@@ -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()
|
||||||
|
|||||||
Reference in new issue
Block a user