ScatterGraphic#

ScatterGraphic#

Constructor#

ScatterGraphic(data[, colors, ...])

Create a Scatter Graphic, 2d or 3d

Properties#

ScatterGraphic.axes

ScatterGraphic.block_events

Used to block events for a graphic and prevent recursion.

ScatterGraphic.cmap

Control the cmap, cmap transform, or cmap alpha

ScatterGraphic.colors

Get or set the colors data

ScatterGraphic.data

Get or set the vertex positions data

ScatterGraphic.deleted

used to emit an event after the graphic is deleted

ScatterGraphic.event_handlers

Registered event handlers.

ScatterGraphic.name

Graphic name

ScatterGraphic.offset

[x, y, z]

ScatterGraphic.right_click_menu

ScatterGraphic.rotation

Orientation of the graphic as a quaternion

ScatterGraphic.sizes

Get or set the scatter point size(s)

ScatterGraphic.supported_events

events supported by this graphic

ScatterGraphic.visible

Whether the graphic is visible

ScatterGraphic.world_object

Associated pygfx WorldObject.

Methods#

ScatterGraphic.add_axes()

Add axes onto this Graphic

ScatterGraphic.add_event_handler(*args)

Register an event handler.

ScatterGraphic.clear_event_handlers()

clear all event handlers added to this graphic

ScatterGraphic.remove_event_handler(...)

remove a registered event handler

ScatterGraphic.rotate(alpha[, axis])

Rotate the Graphic with respect to the world.

ScatterGraphic.share_property(property)

share a property from another graphic.

ScatterGraphic.unshare_property(property)

unshare a shared property.