class_docstr: A base class for path effects.
  
  Subclasses should override the ``draw_path`` method to add effect
  functionality.
class_docstr_tok: ["A","base","class","for","path","effects",".","Subclasses","should","override","the","``","draw_path","``","method","to","add","effect","functionality","."]
docstr: Apply the offset to the given transform.
code: def _offset_transform(self, renderer):
      """Apply the offset to the given transform."""
      return mtransforms.Affine2D().translate(
          *map(renderer.points_to_pixels, self._offset)
      )
  
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 AbstractPathEffect obj's underlying member method code with example usage: obj._offset_transform(renderer) and returns: mtransforms