code: def test_dynamicmap_overlay_hspans(self):
      el = HSpans(data=[[1, 3], [2, 4]])
      dmap = hv.DynamicMap(lambda: hv.Overlay([el]))
  
      plot_el = mpl_renderer.get_plot(el)
      plot_dmap = mpl_renderer.get_plot(dmap)
  
      xlim_el = plot_el.handles["fig"].axes[0].get_xlim()
      ylim_el = plot_el.handles["fig"].axes[0].get_ylim()
      xlim_dmap = plot_dmap.handles["fig"].axes[0].get_xlim()
      ylim_dmap = plot_dmap.handles["fig"].axes[0].get_ylim()
  
      assert np.allclose(xlim_el, xlim_dmap)
      assert np.allclose(ylim_el, ylim_dmap)
  
imports: import numpy
  import holoviews
  from holoviews.element import HLines, HSpans, VLines, VSpans
  from .test_plot import TestMPLPlot, mpl_renderer
label_desc: Use image node_id 3 for calling the TestHVSpansPlot obj's underlying member method code with example usage: obj.test_dynamicmap_overlay_hspans() without return types