code: def add_fancy_patch_around(ax, bb, **kwargs):
      fancy = FancyBboxPatch(
          bb.p0,
          bb.width,
          bb.height,
          fc=(1, 0.8, 1, 0.5),
          ec=(1, 0.5, 1, 0.5),
          **kwargs,
      )
      ax.add_patch(fancy)
      return fancy
  
imports: import inspect
  import matplotlib.pyplot
  import matplotlib.patches
  from matplotlib.patches import FancyBboxPatch
  import matplotlib.transforms
label_desc: Use image node_id 1 for calling a global function with example usage: add_fancy_patch_around(ax, bb) and returns: fancy