code: def make_glyph(glyphclass, kws, extra):
      if extra is None:
          return None
      kws = kws.copy()
      kws.update(extra)
      return glyphclass(**kws)
  
file_path: bokeh/src/bokeh/plotting/_renderer.py
imports: from __future__ import annotations
  import logging
  import sys
  from collections.abc import Iterable
  import numpy
  from ..core.properties import ColorSpec
  from ..models import ColumnarDataSource, ColumnDataSource, GlyphRenderer
  from ..util.strings import nice_join
  from ._legends import pop_legend_kwarg, update_legend
label_desc: Use image node_id 3 for calling a global function with example usage: make_glyph(glyphclass, kws, extra) and returns: glyphclass, None