class_docstr: An Axis class for the 3D plots.
code: def draw_grid(self, renderer):
      if not self.axes._draw_grid:
          return
  
      renderer.open_group("grid3d", gid=self.get_gid())
  
      ticks = self._update_ticks()
      if len(ticks):
          # Get general axis information:
          info = self._axinfo
          index = info["i"]
  
          mins, maxs, _, _, _, highs = self._get_coord_info(renderer)
  
          minmax = np.where(highs, maxs, mins)
          maxmin = np.where(~highs, maxs, mins)
  
          # Grid points where the planes meet
          xyz0 = np.tile(minmax, (len(ticks), 1))
          xyz0[:, index] = [tick.get_loc() for tick in ticks]
  
          # Grid lines go from the end of one plane through the plane
          # intersection (at xyz0) to the end of the other plane.  The first
          # point (0) differs along dimension index-2 and the last (2) along
          # dimension index-1.
          lines = np.stack([xyz0, xyz0, xyz0], axis=1)
          lines[:, 0, index - 2] = maxmin[index - 2]
          lines[:, 2, index - 1] = maxmin[index - 1]
          self.gridlines.set_segments(lines)
          gridinfo = info["grid"]
          self.gridlines.set_color(gridinfo["color"])
          self.gridlines.set_linewidth(gridinfo["linewidth"])
          self.gridlines.set_linestyle(gridinfo["linestyle"])
          self.gridlines.do_3d_projection()
          self.gridlines.draw(renderer)
  
      renderer.close_group("grid3d")
  
imports: import inspect
  import numpy
  import matplotlib
  from matplotlib import _api, artist, lines, axis, patches, transforms, colors
  from .None import art3d, proj3d
label_desc: Use image node_id 26 for calling the Axis obj's underlying member method code with example usage: obj.draw_grid(renderer) without return types