ipyoverlay.mpl.event.on_mpl_point_click#

ipyoverlay.mpl.event.on_mpl_point_click(ax, callback, points_x, points_y, tolerance=0.5, button=1)#

More ‘normal’ semantic syntax for creating event handler.

Parameters:
  • ax (Axes) –

  • callback (Callable) –

  • points_x (ndarray) –

  • points_y (ndarray) –

  • tolerance (float) –

  • button (int) –

Return type:

MPLEventHandler