class_docstr: A simple shadow via a filled patch.
class_docstr_tok: ["A","simple","shadow","via","a","filled","patch","."]
docstr: Parameters
  ----------
  offset : (float, float), default: (2, -2)
      The (x, y) offset of the shadow in points.
  shadow_rgbFace : color
      The shadow color.
  alpha : float, default: 0.3
      The alpha transparency of the created shadow patch.
  rho : float, default: 0.3
      A scale factor to apply to the rgbFace color if *shadow_rgbFace*
      is not specified.
  **kwargs
      Extra keywords are stored and passed through to
      :meth:`AbstractPathEffect._update_gc`.
code: def __init__(
      self,
      offset=(2, -2),
      shadow_rgbFace=None,
      alpha=None,
      rho=0.3,
      **kwargs,
  ):
      """
      Parameters
      ----------
      offset : (float, float), default: (2, -2)
          The (x, y) offset of the shadow in points.
      shadow_rgbFace : color
          The shadow color.
      alpha : float, default: 0.3
          The alpha transparency of the created shadow patch.
      rho : float, default: 0.3
          A scale factor to apply to the rgbFace color if *shadow_rgbFace*
          is not specified.
      **kwargs
          Extra keywords are stored and passed through to
          :meth:`AbstractPathEffect._update_gc`.
  
      """
      super().__init__(offset)
  
      if shadow_rgbFace is None:
          self._shadow_rgbFace = shadow_rgbFace
      else:
          self._shadow_rgbFace = mcolors.to_rgba(shadow_rgbFace)
  
      if alpha is None:
          alpha = 0.3
  
      self._alpha = alpha
      self._rho = rho
  
      #: The dictionary of keywords to update the graphics collection with.
      self._gc = kwargs
  
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 1 to create a new SimplePatchShadow object from inherited base classes: AbstractPathEffect with example: obj = SimplePatchShadow(offset, shadow_rgbFace, alpha, rho)