class_docstr: A simple shadow via a line.
class_docstr_tok: ["A","simple","shadow","via","a","line","."]
docstr: Parameters
  ----------
  offset : (float, float), default: (2, -2)
      The (x, y) offset to apply to the path, in points.
  shadow_color : color, default: 'black'
      The shadow color.
      A value of ``None`` takes the original artist's color
      with a scale factor of *rho*.
  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_color*
      is ``None``.
  **kwargs
      Extra keywords are stored and passed through to
      :meth:`AbstractPathEffect._update_gc`.
code: def __init__(
      self,
      offset=(2, -2),
      shadow_color="k",
      alpha=0.3,
      rho=0.3,
      **kwargs,
  ):
      """
      Parameters
      ----------
      offset : (float, float), default: (2, -2)
          The (x, y) offset to apply to the path, in points.
      shadow_color : color, default: 'black'
          The shadow color.
          A value of ``None`` takes the original artist's color
          with a scale factor of *rho*.
      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_color*
          is ``None``.
      **kwargs
          Extra keywords are stored and passed through to
          :meth:`AbstractPathEffect._update_gc`.
      """
      super().__init__(offset)
      if shadow_color is None:
          self._shadow_color = shadow_color
      else:
          self._shadow_color = mcolors.to_rgba(shadow_color)
      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 SimpleLineShadow object from inherited base classes: AbstractPathEffect with example: obj = SimpleLineShadow(offset, shadow_color, alpha, rho)