fastplotlib.graphics._features.ImageCmapFeature

class ImageCmapFeature(parent, cmap)[source]

Colormap for ImageGraphic.

<graphic>.cmap() returns the Texture buffer for the cmap.

<graphic>.cmap.name returns the cmap name as a str.

event pick info:

key

type

description

“index”

None

not used

“name”

str

colormap name

“world_object”

pygfx.WorldObject

world object

“vmin”

float

minimum value

“vmax”

float

maximum value