GLGridItem

class pyqtgraph.opengl.GLGridItem(size=None, color=None, antialias=True, glOptions='translucent')[source]

Bases: GLGraphicsItem

Displays a wire-grame grid.

__init__(size=None, color=None, antialias=True, glOptions='translucent')[source]
setSize(x=None, y=None, z=None, size=None)[source]

Set the size of the axes (in its local coordinate system; this does not affect the transform) Arguments can be x,y,z or size=QVector3D().

setSpacing(x=None, y=None, z=None, spacing=None)[source]

Set the spacing between grid lines. Arguments can be x,y,z or spacing=QVector3D().