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: Update the given GraphicsCollection with the given
  dictionary of properties. The keys in the dictionary are used to
  identify the appropriate set_ method on the gc.
docstr_tok: ["Update","the","given","GraphicsCollection","with","the","given","dictionary","of","properties",".","The","keys","in","the","dictionary","are","used","to","identify","the","appropriate","set_","method","on","the","gc","."]
code: def _update_gc(self, gc, new_gc_dict):
      """
      Update the given GraphicsCollection with the given
      dictionary of properties. The keys in the dictionary are used to
      identify the appropriate set_ method on the gc.
  
      """
      new_gc_dict = new_gc_dict.copy()
  
      dashes = new_gc_dict.pop("dashes", None)
      if dashes:
          gc.set_dashes(**dashes)
  
      for k, v in six.iteritems(new_gc_dict):
          set_method = getattr(gc, "set_" + k, None)
          if not callable(set_method):
              raise AttributeError("Unknown property {0}".format(k))
          set_method(v)
      return gc
  
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 3 for calling the AbstractPathEffect obj's underlying member method code with example usage: obj._update_gc(gc, new_gc_dict) and returns: gc