mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
HS: Minor fixes.
This commit is contained in:
1 parent
485b2cad1e
commit
1a66188411
2 files changed
+4
-1
No files matched your search
@@ -118,6 +118,9 @@ class PlotAC(PamhyrPlot):
|
||||
|
||||
self.line_kp.set_data(x, z)
|
||||
|
||||
def clear(self):
|
||||
self.update_clear()
|
||||
|
||||
def update_clear(self):
|
||||
if self.line_kp is not None:
|
||||
self.line_kp.set_data([], [])
|
||||
@@ -147,7 +147,7 @@ class PlotKPC(PamhyrPlot):
|
||||
|
||||
def clear(self):
|
||||
if self.profile is not None:
|
||||
self.profile.set_data([], [])
|
||||
self.profile[0].set_data([], [])
|
||||
|
||||
if self.line_kp_zmin_zmax is not None:
|
||||
self.line_kp_zmin_zmax.remove()
|
||||
|
||||
Reference in new issue
Block a user