class_docstr: A simple shadow via a filled patch.
class_docstr_tok: ["A","simple","shadow","via","a","filled","patch","."]
docstr: Parameters
  ----------
  offset : pair of floats
      The offset of the shadow in points.
  shadow_rgbFace : color
      The shadow color.
  alpha : float
      The alpha transparency of the created shadow patch.
      Default is 0.3.
      http://matplotlib.1069221.n5.nabble.com/path-effects-question-td27630.html
  rho : float
      A scale factor to apply to the rgbFace color if `shadow_rgbFace`
      is not specified. Default is 0.3.
  **kwargs
      Extra keywords are stored and passed through to
      :meth:`AbstractPathEffect._update_gc`.
docstr_tok: ["Parameters","--","--","--","--","--","offset",":","pair","of","floats","The","offset","of","the","shadow","in","points",".","shadow_rgbFace",":","color","The","shadow","color",".","alpha",":","float","The","alpha","transparency","of","the","created","shadow","patch",".","Default","is","0.3.","http",":","\/\/matplotlib.1069221.n5.nabble.com\/path-effects-question-td27630.html","rho",":","float","A","scale","factor","to","apply","to","the","rgbFace","color","if","`","shadow_rgbFace","`","is","not","specified",".","Default","is","0.3",".","*","*","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 : pair of floats
          The offset of the shadow in points.
      shadow_rgbFace : color
          The shadow color.
      alpha : float
          The alpha transparency of the created shadow patch.
          Default is 0.3.
          http://matplotlib.1069221.n5.nabble.com/path-effects-question-td27630.html
      rho : float
          A scale factor to apply to the rgbFace color if `shadow_rgbFace`
          is not specified. Default is 0.3.
      **kwargs
          Extra keywords are stored and passed through to
          :meth:`AbstractPathEffect._update_gc`.
  
      """
      super(SimplePatchShadow, self).__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
  
      #: The offset transform object. The offset isn't calculated yet
      #: as we don't know how big the figure will be in pixels.
      self._offset_tran = mtransforms.Affine2D()
  
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 1 to create a new SimplePatchShadow object from inherited base classes: AbstractPathEffect with example: obj = SimplePatchShadow(offset, shadow_rgbFace, alpha, rho)