mirror of https://gitlab.com/pamhyr/pamhyr2
HS: Minor fixes.
parent
485b2cad1e
commit
1a66188411
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue