code: def draw_control_points_for_patches(ax):
      for patch in ax.patches:
          patch.axes.plot(
              *patch.get_path().vertices.T, ".", c=patch.get_edgecolor()
          )
  
imports: import inspect
  import matplotlib.pyplot
  import matplotlib.patches
  from matplotlib.patches import FancyBboxPatch
  import matplotlib.transforms
label_desc: Use image node_id 2 for calling a global function with example usage: draw_control_points_for_patches(ax) without return types