code: def _make_plot(**kw):
      source = ColumnDataSource(dict(x=[1, 2], y1=[0, 1], y2=[10, 11]))
      plot = Plot(
          height=400,
          width=400,
          x_range=DataRange1d(),
          y_range=DataRange1d(**kw),
          min_border=0,
      )
      plot.add_glyph(source, Circle(x="x", y="y1"))
      glyph = plot.add_glyph(source, Circle(x="x", y="y2"))
      glyph.visible = False
      code = RECORD("yrstart", "p.y_range.start", final=False) + RECORD(
          "yrend", "p.y_range.end"
      )
      plot.tags.append(
          CustomJS(name="custom-action", args=dict(p=plot), code=code)
      )
      plot.toolbar_sticky = False
      return plot, glyph
  
file_path: bokeh/tests/integration/models/test_datarange1d.py
imports: from __future__ import annotations
  import pytest
  from bokeh.layouts import column
  from bokeh.models import Button, Circle, ColumnDataSource, CustomJS, DataRange1d, Plot
  from tests.support.plugins.project import SinglePlotPage
  from tests.support.util.selenium import RECORD, find_element_for
label_desc: Use image node_id 1 for calling a global function with example usage: _make_plot() and returns: plot,  glyph