vispy.visuals.gridlines module

class vispy.visuals.gridlines.GridLinesVisual(scale=(1, 1), color='w')[source]

Bases: vispy.visuals.image.ImageVisual

Displays regularly spaced grid lines in any coordinate system and at any scale.

Parameters
scaletuple

The scale factors to apply when determining the spacing of grid lines.

colorColor

The base color for grid lines. The final color may have its alpha channel modified.

property size