RenderWindowInteractor.get_event_subplot_loc

RenderWindowInteractor.get_event_subplot_loc#

RenderWindowInteractor.get_event_subplot_loc() → NDArray[np.intp] | np.intp[source]#

Get the subplot location of the last event.

Returns:
numpy.ndarray | numpy.intp

Location of the subplot on the plotting grid, or its 1D index for a single-row layout.

Raises:
RuntimeError

If the poked renderer is not found in the Plotter.