vispy.visuals.linear_region.
LinearRegionVisual
Bases: vispy.visuals.visual.Visual
vispy.visuals.visual.Visual
Infinite horizontal or vertical region for 2D plots.
Bounds of the region along the axis. len(pos) must be >=2.
The color to use when drawing the line. It must have a shape of (1, 4) for a single color region or (len(pos), 4) for a multicolor region.
True for drawing a vertical region, False for an horizontal region
color
is_vertical
pos
set_data
Set the data