code: def make_slider(prop, start, end, value):
      slider = Slider(title=prop, start=start, end=end, value=value)
      cb = CustomJS(
          args=dict(lines=lines, prop=prop),
          code="""
          for (let i = 0; i < lines.length; i++) {
              const glyph = lines[i].glyph;
              glyph[prop] = cb_obj.value;
          }
      """,
      )
      slider.js_on_change("value", cb)
      return slider
  
imports: import numpy
  from bokeh.layouts import column, row
  from bokeh.models import CustomJS, Dropdown, Slider
  from bokeh.plotting import figure, show
label_desc: Use image node_id 2 for calling a global function with example usage: make_slider(prop, start, end, value) and returns: slider