class_docstr: **Bases:** :class:`GLGraphicsItem <pyqtgraph.opengl.GLGraphicsItem.GLGraphicsItem>`
  
  Displays a wire-frame grid. 
class_docstr_tok: ["*","*","Bases",":","*","*",":","class",":","`","GLGraphicsItem","<","pyqtgraph.opengl.GLGraphicsItem.GLGraphicsItem",">","`","Displays","a","wire-frame","grid","."]
docstr: Set the spacing between grid lines.
  Arguments can be x,y,z or spacing=QVector3D().
docstr_tok: ["Set","the","spacing","between","grid","lines",".","Arguments","can","be","x",",","y",",","z","or","spacing=QVector3D","(",")","."]
code: def setSpacing(self, x=None, y=None, z=None, spacing=None):
      """
      Set the spacing between grid lines.
      Arguments can be x,y,z or spacing=QVector3D().
      """
      if spacing is not None:
          x = spacing.x()
          y = spacing.y()
          z = spacing.z()
      self.__spacing = [x, y, z]
      self.update()
  
file_path: pyqtgraph/pyqtgraph/opengl/items/GLGridItem.py
imports: from OpenGL.GL import *
  import numpy
  from ...None import QtGui
  from ...None import functions
  from ..GLGraphicsItem import GLGraphicsItem
label_desc: Use image node_id 4 for calling the GLGridItem obj's underlying member method code with example usage: obj.setSpacing(x, y, z, spacing) without return types