vispy.visuals.line_plot.
LinePlotVisual
Bases: vispy.visuals.visual.CompoundVisual
vispy.visuals.visual.CompoundVisual
Visual displaying a plot line with optional markers.
Arguments can be passed as (Y,), (X, Y), (X, Y, Z) or np.array((X, Y)), np.array((X, Y, Z)).
(Y,)
(X, Y)
(X, Y, Z)
np.array((X, Y))
np.array((X, Y, Z))
Color of the line.
Marker symbol to use.
Kind of line to draw. For now, only solid lines ('-') are supported.
'-'
Line width.
Marker size. If size == 0 markers will not be shown.
Color of the marker edge.
Color of the marker face.
Edge width of the marker.
See LineVisual.
Argements to pass to the super class.
See also
LineVisual
MarkersVisual
marker_types
Examples
All of these syntaxes will work:
>>> LinePlotVisual(y_vals) >>> LinePlotVisual(x_vals, y_vals) >>> LinePlotVisual(xy_vals)
set_data
Set the line data
The data.
Keywoard arguments to pass to MarkerVisual and LineVisal.