code: def zoom_effect01(ax1, ax2, xmin, xmax, **kwargs):
      """
      Connect *ax1* and *ax2*. The *xmin*-to-*xmax* range in both Axes will
      be marked.
  
      Parameters
      ----------
      ax1
          The main Axes.
      ax2
          The zoomed Axes.
      xmin, xmax
          The limits of the colored area in both plot Axes.
      **kwargs
          Arguments passed to the patch constructor.
      """
  
      bbox = Bbox.from_extents(xmin, 0, xmax, 1)
  
      mybbox1 = TransformedBbox(bbox, ax1.get_xaxis_transform())
      mybbox2 = TransformedBbox(bbox, ax2.get_xaxis_transform())
  
      prop_patches = {**kwargs, "ec": "none", "alpha": 0.2}
  
      c1, c2, bbox_patch1, bbox_patch2, p = connect_bbox(
          mybbox1,
          mybbox2,
          loc1a=3,
          loc2a=2,
          loc1b=4,
          loc2b=1,
          prop_lines=kwargs,
          prop_patches=prop_patches,
      )
  
      ax1.add_patch(bbox_patch1)
      ax2.add_patch(bbox_patch2)
      ax2.add_patch(c1)
      ax2.add_patch(c2)
      ax2.add_patch(p)
  
      return c1, c2, bbox_patch1, bbox_patch2, p
  
imports: import matplotlib.pyplot
  from matplotlib.transforms import Bbox, TransformedBbox, blended_transform_factory
  from mpl_toolkits.axes_grid1.inset_locator import BboxConnector, BboxConnectorPatch, BboxPatch
label_desc: Use image node_id 2 for calling a global function with example usage: zoom_effect01(ax1, ax2, xmin, xmax) and returns: c1,  c2,  bbox_patch1,  bbox_patch2,  p