mirror of https://gitlab.com/pamhyr/pamhyr2
mend
parent
872ff0ef62
commit
8cd9ec939b
|
|
@ -106,7 +106,6 @@ class PlotKPZ(PamhyrPlot):
|
||||||
|
|
||||||
s = event.artist.get_segments()
|
s = event.artist.get_segments()
|
||||||
x = [i[0,0] for i in s]
|
x = [i[0,0] for i in s]
|
||||||
print(x)
|
|
||||||
mx = event.mouseevent.xdata
|
mx = event.mouseevent.xdata
|
||||||
points = enumerate(x)
|
points = enumerate(x)
|
||||||
|
|
||||||
|
|
@ -119,8 +118,6 @@ class PlotKPZ(PamhyrPlot):
|
||||||
points, key=dist_mouse
|
points, key=dist_mouse
|
||||||
)
|
)
|
||||||
|
|
||||||
print("closest = "+str(closest))
|
|
||||||
|
|
||||||
return closest
|
return closest
|
||||||
|
|
||||||
def _select_in_table(self, ind):
|
def _select_in_table(self, ind):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue