vispy.visuals.tests.test_linear_region module#

Tests for LinearRegionVisual All images are of size (100,100) to keep a small file size

vispy.visuals.tests.test_linear_region.test_linear_region_color()#

Test the color argument of LinearRegionVisual.set_data() method using a single color

vispy.visuals.tests.test_linear_region.test_linear_region_gradient()#

Test LinearRegionVisual with a gradient as color

vispy.visuals.tests.test_linear_region.test_linear_region_vertical_horizontal()#

Test vertical and horizontal LinearRegionVisual with a single color