data#

property ScatterGraphic.data: VertexPositions#

Get or set the graphic’s data.

Note that if the number of datapoints does not match the number of current datapoints a new buffer is automatically allocated. This can have performance drawbacks when you have a very large number of datapoints. This is usually fine as long as you don’t need to do it hundreds of times per second.

Examples#

Drag points

Drag points

Polygon animation

Polygon animation

Change number of points in lines and scatters

Change number of points in lines and scatters

Scatter Animation Data

Scatter Animation Data

Scatter Plot Data Slicing

Scatter Plot Data Slicing

Iris Scatter Plot Data Slicing

Iris Scatter Plot Data Slicing

Spinning spiral scatter

Spinning spiral scatter

Rotate image

Rotate image

Rotate line

Rotate line

Scale image

Scale image

Scale line

Scale line

Translate image

Translate image

Translate line

Translate line

Translate and scale image

Translate and scale image

Translate and scale line

Translate and scale line

Translate scale and rotate image

Translate scale and rotate image

Translate scale and rotate line

Translate scale and rotate line

Moving TextGraphic label

Moving TextGraphic label

Static Electric Field

Static Electric Field