import numpy as np from numpy import testing as npt import pytest import fastplotlib as fpl import pygfx from fastplotlib.graphics.features import GraphicFeatureEvent, VertexMarkers from fastplotlib.graphics.features._scatter import marker_names, vectorized_user_markers_to_std_markers from .utils import ( generate_slice_indices, generate_positions_spiral_data, ) EVENT_RETURN_VALUE: GraphicFeatureEvent = None def event_handler(ev): global EVENT_RETURN_VALUE EVENT_RETURN_VALUE = ev MARKERS1 = list("osD+x^v<>*") MARKERS2 = list(">+vx