code: def _stale_wrapper(func):
      """Decorator to manage artist state."""
  
      @wraps(func)
      def inner(self, *args, **kwargs):
          try:
              func(self, *args, **kwargs)
          finally:
              self.stale = False
  
      return inner
  
imports: from warnings import warn
  from functools import wraps, partial
  from igraph._igraph import convex_hull, VertexSeq
  from igraph.drawing.baseclasses import AbstractGraphDrawer
  from igraph.drawing.utils import FakeModule
  from .edge import MatplotlibEdgeDrawer, EdgeCollection
  from .polygon import HullCollection
  from .utils import find_matplotlib
  from .vertex import MatplotlibVertexDrawer, VertexCollection
label_desc: Use image node_id 1 for calling a global function with example usage: _stale_wrapper(func) and returns: inner