parameters: (self, xdata: float, ydata: float)
docstring: Notify the object that a new event has occurred at the given coordinates
          :param xdata: X position in data coordinates
          :param ydata: Y position in data coordinates
docstring_summary: Notify the object that a new event has occurred at the given coordinates
          :param xdata: X position in data coordinates
          :param ydata: Y position in data coordinates
docstring_tokens: Notify the object that a new event has occurred at the given coordinates : param xdata : X position in data coordinates : param ydata : Y position in data coordinates
function: def on_cursor_at(self, xdata: float, ydata: float):
          """
          Notify the object that a new event has occurred at the given coordinates
          :param xdata: X position in data coordinates
          :param ydata: Y position in data coordinates
          """
          plotter = self.plotter
          cinfo = cursor_info(plotter.image, xdata, ydata)
          if cinfo is not None:
              self._cursor_pos = (xdata, ydata)
              arr, (xmin, xmax, ymin, ymax), (i, j) = cinfo
              plotter.plot_x_line(np.linspace(xmin, xmax, arr.shape[1]), arr[i, :])
              plotter.plot_y_line(np.linspace(ymin, ymax, arr.shape[0]), arr[:, j])
              plotter.sync_plot_limits_with_colorbar()
              plotter.redraw()
function_tokens: def on_cursor_at ( self , xdata : float , ydata : float ) : plotter = self . plotter cinfo = cursor_info ( plotter . image , xdata , ydata ) if cinfo is not None : self . _cursor_pos = ( xdata , ydata ) arr , ( xmin , xmax , ymin , ymax ) , ( i , j ) = cinfo plotter . plot_x_line ( np . linspace ( xmin , xmax , arr . shape [ 1 ] ) , arr [ i , : ] ) plotter . plot_y_line ( np . linspace ( ymin , ymax , arr . shape [ 0 ] ) , arr [ : , j ] ) plotter . sync_plot_limits_with_colorbar ( ) plotter . redraw ( )