Snap y-cursor-label to min tick
parent
708086cbcb
commit
cfc36e7928
|
@ -367,7 +367,8 @@ class Cursor(pg.GraphicsObject):
|
||||||
self.graphics[plot]['hl'].setY(iy)
|
self.graphics[plot]['hl'].setY(iy)
|
||||||
|
|
||||||
self.graphics[self.active_plot]['yl'].update_label(
|
self.graphics[self.active_plot]['yl'].update_label(
|
||||||
abs_pos=pos, value=iy
|
abs_pos=plot.mapFromView(QPointF(ix, iy)),
|
||||||
|
value=iy
|
||||||
)
|
)
|
||||||
|
|
||||||
# update all trackers
|
# update all trackers
|
||||||
|
|
Loading…
Reference in New Issue