class_docstr: A simple shadow via a filled patch.
class_docstr_tok: ["A","simple","shadow","via","a","filled","patch","."]
docstr: Overrides the standard draw_path to add the shadow offset and
  necessary color changes for the shadow.
docstr_tok: ["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.
  
      """
      # IMPORTANT: Do not modify the input - we copy everything instead.
      affine0 = self._offset_transform(renderer, affine)
      gc0 = renderer.new_gc()
      gc0.copy_properties(gc)
  
      if self._shadow_rgbFace is None:
          r, g, b = (rgbFace 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_rgbFace
  
      gc0.set_foreground("none")
      gc0.set_alpha(self._alpha)
      gc0.set_linewidth(0)
  
      gc0 = self._update_gc(gc0, self._gc)
      renderer.draw_path(gc0, tpath, affine0, shadow_rgbFace)
      gc0.restore()
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  from matplotlib.backend_bases import RendererBase
  from matplotlib import colors
  from matplotlib import patches
  from matplotlib import transforms
label_desc: Use image node_id 2 for calling the SimplePatchShadow obj's underlying member method code with example usage: obj.draw_path(renderer, gc, tpath, affine, rgbFace) without return types