code: def __stem_bokeh(y: numpy.array, title, x_range, y_range, fig_size):
      import numpy as np
      from bokeh.plotting import figure
  
      dim = y.shape[0]
      x = np.arange(dim)
      plot_width, plot_height = fig_size
      fig = figure(
          plot_width=plot_width,
          plot_height=plot_height,
          x_range=x_range,
          y_range=y_range,
      )
      fig.scatter(x, y, size=4, fill_alpha=0.5)
      fig.segment(x, np.zeros(dim), x, y)
      fig.title.text_font_size = "12pt"
      if title is not None:
          fig.title.text = title
      return fig
  
imports: import numpy
  from matplotlib.pyplot import Axes
label_desc: Use image node_id 3 for calling a global function with example usage: __stem_bokeh(y, title, x_range, y_range, fig_size) and returns: fig