pyOMA.GUI.JupyterGUI.SnappingCursor#
- class pyOMA.GUI.JupyterGUI.SnappingCursor(ax, f_data, order_data)[source]#
Bases:
objectA cross-hair cursor that snaps to the data point of a line, which is closest to the cursor.
Todo
waiting for matplotlib/matplotlib#27160 to be approved then blitting should be tested and enabled
Methods
__init__(ax, f_data, order_data)add_callback(name, func)findIndexNearestXY(x_point, y_point)Finds the nearest neighbour
on_button([event])on_mouse_move(event)set_cross_hair_visible(visible)set_mask(mask[, name])update_pix_data([event])