code: def test_hlines_array(self):
      hlines = HLines(np.array([0, 1, 2, 5.5]))
      plot = bokeh_renderer.get_plot(hlines)
      assert isinstance(plot.handles["glyph"], BkHSpan)
      assert plot.handles["xaxis"].axis_label == "x"
      assert plot.handles["yaxis"].axis_label == "y"
  
      assert plot.handles["x_range"].start == 0
      assert plot.handles["x_range"].end == 1
      assert plot.handles["y_range"].start == 0
      assert plot.handles["y_range"].end == 5.5
  
      source = plot.handles["source"]
      assert list(source.data) == ["y"]
      assert (source.data["y"] == [0, 1, 2, 5.5]).all()
  
imports: import unittest
  import numpy
  import holoviews
  from holoviews.element import Arrow, HLine, HLines, HSpan, HSpans, Labels, Slope, Text, VLine, VLines, VSpan, VSpans
  from holoviews.plotting.bokeh.util import bokeh32, bokeh33
  from .test_plot import TestBokehPlot, bokeh_renderer
label_desc: Use image node_id 4 for calling the TestHVLinesPlot obj's underlying member method code with example usage: obj.test_hlines_array() without return types