class_docstr: A simple shadow via a line.
class_docstr_tok: ["A","simple","shadow","via","a","line","."]
docstr: Overrides the standard draw_path to add the shadow offset and
  necessary color changes for the shadow.
code: def draw_path(self, renderer, gc, tpath, affine, rgbFace):
      """
      Overrides the standard draw_path to add the shadow offset and
      necessary color changes for the shadow.
      """
      gc0 = renderer.new_gc()  # Don't modify gc, but a copy!
      gc0.copy_properties(gc)
  
      if self._shadow_color is None:
          r, g, b = (gc0.get_foreground() or (1.0, 1.0, 1.0))[:3]
          # Scale the colors by a factor to improve the shadow effect.
          shadow_rgbFace = (r * self._rho, g * self._rho, b * self._rho)
      else:
          shadow_rgbFace = self._shadow_color
  
      gc0.set_foreground(shadow_rgbFace)
      gc0.set_alpha(self._alpha)
  
      gc0 = self._update_gc(gc0, self._gc)
      renderer.draw_path(
          gc0, tpath, affine + self._offset_transform(renderer)
      )
      gc0.restore()
  
imports: from matplotlib.backend_bases import RendererBase
  from matplotlib import colors
  from matplotlib import patches
  from matplotlib import transforms
  from matplotlib.path import Path
  import numpy
label_desc: Use image node_id 2 for calling the SimpleLineShadow obj's underlying member method code with example usage: obj.draw_path(renderer, gc, tpath, affine, rgbFace) without return types