fastplotlib.ScatterStack#

class ScatterStack(data, *, colors='w', cmap=None, cmap_transform=None, cmap_range=None, mode='markers', markers='o', custom_sdf=None, edge_colors='black', edge_width=1.0, image=None, point_rotations=0.0, sizes=5, size_space='screen', 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, separation=(0.0, 0.0, 0.0), separation_axis='y', steps=None)[source]#

Create a stack of graphics.

Parameters:
  • data (list of array-like) – one entry per graphic; its length is the number of graphics in the stack

  • separation ((float, float, float), default (0.0, 0.0, 0.0)) – (x, y, z) gap between successive graphics, added to the step along the corresponding stacking axis

  • separation_axis (str, default "y") – axes to stack along, any combination of “x”, “y”, “z”, e.g. “y”, “xy”, “xyz”

  • steps ([n_graphics, 3] array-like, optional) – per-graphic step along each (x, y, z) axis, i.e. the max each graphic reaches. When None (default) a single max over all the data sets one uniform step. When given, each graphic is offset by the cumulative step of the graphics before it, plus separation.

  • **kwargs – passed to the collection, e.g. colors, thickness, sizes