fastplotlib.graphics._features.FeatureEvent

class FeatureEvent(type, pick_info)[source]

Dataclass that holds feature event information. Has type and pick_info attributes.

type
Type:

str, example “colors”

pick_info

key

value

“index”

indices where feature data was changed, range object or List[int]

“world_object”

world object the feature belongs to

“new_data:

the new data for this feature

Note

pick info varies between features, this is just the general structure

Type:

dict: