LineStack#

LineStack#

Constructor#

LineStack(data[, thickness, colors, alpha, ...])

Create a stack of LineGraphic that are separated along the "x" or "y" axis.

Properties#

LineStack.axes

LineStack.block_events

Used to block events for a graphic and prevent recursion.

LineStack.cmap

Get or set a cmap along the line collection.

LineStack.colors

get or set colors of lines in the collection

LineStack.data

get or set data of lines in the collection

LineStack.deleted

used to emit an event after the graphic is deleted

LineStack.event_handlers

Registered event handlers.

LineStack.graphics

The Graphics within this collection.

LineStack.metadatas

get or set the metadata of the individual graphics in the collection

LineStack.name

Graphic name

LineStack.names

get or set the name of the individual graphics in the collection

LineStack.offset

[x, y, z]

LineStack.offsets

get or set the offset of the individual graphics in the collection

LineStack.right_click_menu

LineStack.rotation

Orientation of the graphic as a quaternion

LineStack.rotations

get or set the rotation of the individual graphics in the collection

LineStack.supported_events

events supported by this graphic

LineStack.thickness

get or set the thickness of the lines

LineStack.visible

Whether the graphic is visible

LineStack.visibles

get or set the offsets of the individual graphics in the collection

LineStack.world_object

Associated pygfx WorldObject.

Methods#

LineStack.add_axes()

Add axes onto this Graphic

LineStack.add_event_handler(*args)

Register an event handler.

LineStack.add_graphic(graphic)

Add a graphic to the collection.

LineStack.add_linear_region_selector([...])

Add a LinearRegionSelector.

LineStack.add_linear_selector([selection, ...])

Adds a linear selector.

LineStack.add_rectangle_selector([selection])

Add a RectangleSelector.

LineStack.clear_event_handlers()

clear all event handlers added to this graphic

LineStack.remove_event_handler(callback, *types)

remove an event handler

LineStack.remove_graphic(graphic)

Remove a graphic from the collection.

LineStack.rotate(alpha[, axis])

Rotate the Graphic with respect to the world.

LineStack.share_property(feature)

LineStack.unshare_property(feature)