code: def mk_modify_doc(input_box: MultiChoice):
      def modify_doc(doc):
          source = ColumnDataSource(
              dict(x=[1, 2], y=[1, 1], val=["a", "b"])
          )
          plot = Plot(
              height=400,
              width=400,
              x_range=Range1d(0, 1),
              y_range=Range1d(0, 1),
              min_border=0,
          )
          plot.add_glyph(source, Scatter(x="x", y="y", size=20))
          plot.tags.append(
              CustomJS(
                  name="custom-action",
                  args=dict(s=source),
                  code=RECORD("data", "s.data"),
              )
          )
          input_box.title = "title"
          input_box.options = [
              "100001",
              "12344556",
              "12344557",
              "3194567289",
              "209374209374",
          ]
          input_box.value = ["12344556", "12344557"]
  
          def cb(attr, old, new):
              source.data["val"] = [old, new]
  
          input_box.on_change("value", cb)
          doc.add_root(row(input_box, plot))
  
      return modify_doc
  
file_path: bokeh/tests/integration/widgets/test_multi_choice.py
imports: from __future__ import annotations
  import pytest
  from selenium.webdriver.common.by import By
  from selenium.webdriver.common.keys import Keys
  from bokeh.layouts import row
  from bokeh.models import ColumnDataSource, CustomJS, MultiChoice, Plot, Range1d, Scatter
  from tests.support.plugins.project import BokehModelPage, BokehServerPage
  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: mk_modify_doc(input_box) and returns: modify_doc