class_docstr: Displays regularly spaced grid lines in any coordinate system and at
  any scale.
  
  Parameters
  ----------
  scale : tuple
      The scale factors to apply when determining the spacing of grid lines.
  color : Color
      The base color for grid lines. The final color may have its alpha
      channel modified.
code: def _prepare_transforms(self, view):
      fn = self._grid_color_fn
      fn["map_to_doc"] = self.get_transform("visual", "document")
      fn["map_doc_to_local"] = self.get_transform("document", "visual")
      ImageVisual._prepare_transforms(self, view)
  
file_path: vispy/vispy/visuals/gridlines.py
imports: from __future__ import division
  from .image import ImageVisual
  from ..color import Color
  from .shaders import Function
label_desc: Use image node_id 3 for calling the GridLinesVisual obj's underlying member method code with example usage: obj._prepare_transforms(view) without return types