fastplotlib.ImageCollection#
- class ImageCollection(data, *, vmin=None, vmax=None, cmap='plasma', gamma=1.0, interpolation='nearest', cmap_interpolation='linear', colorspace='srgb', cpu_buffer=True, texture_usage=0, names=None, offsets=None, rotations=None, scales=None, alphas=None, alpha_modes=None, visibles=None, metadatas=None, name=None, offset=(0.0, 0.0, 0.0), rotation=(0.0, 0.0, 0.0, 1.0), scale=(1.0, 1.0, 1.0), alpha=1.0, alpha_mode='auto', visible=True, metadata=None)[source]#
Create a collection of graphics of the same type.
- Parameters:
data (list of array-like) – one entry per graphic; its length is the number of graphics in the collection
**kwargs – any feature of the child graphic (
colors,thickness,sizes, …), each accepting one value for all graphics or one value per graphic. AGraphicargument (name,offset,visible, …) sets it on the collection itself, its plural form (names,offsets,visibles, …) sets it per graphic. Any argument that is not a feature is passed unchanged to every child graphic.