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()[source]

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

vispy.visuals.tests.test_linear_region.test_linear_region_gradient()[source]

Test LinearRegionVisual with a gradient as color

vispy.visuals.tests.test_linear_region.test_linear_region_vertical_horizontal()[source]

Test vertical and horizontal LinearRegionVisual with a single color