fastplotlib.graphics._features.VertexPositions#

class VertexPositions(data, isolated_buffer=True)[source]#

dict key

value type

value description

key

int | slice | np.ndarray[int | bool] | tuple[slice, …]

key at which vertex positions data were indexed/sliced

value

np.ndarray | float | list[float]

new data values for points that were changed, shape depends on the indices that were set

Manages the vertex positions buffer shown in the graphic. Supports fancy indexing if the data array also supports it.