code: def generate_docstring(glyphclass, parameters, extra_docs):
      return f""" {_docstring_header(glyphclass)}
  
  Args:
  {_docstring_args(parameters)}
  
  Keyword args:
  {_docstring_kwargs(parameters)}
  
  {_docstring_other()}
  
  It is also possible to set the color and alpha parameters of extra glyphs for
  selection, nonselection, hover, or muted. To do so, add the relevant prefix to
  any visual parameter. For example, pass ``nonselection_alpha`` to set the line
  and fill alpha for nonselect, or ``hover_fill_alpha`` to set the fill alpha for
  hover. See the :ref:`ug_styling_plots_glyphs` section of the user guide for
  full details.
  
  Returns:
      :class:`~bokeh.models.renderers.GlyphRenderer`
  
  {_docstring_extra(extra_docs)}
  """
  
file_path: bokeh/src/bokeh/plotting/_docstring.py
imports: from __future__ import annotations
  import logging
  from inspect import Parameter
  from ..models import Marker
label_desc: Use image node_id 1 for calling a global function with example usage: generate_docstring(glyphclass, parameters, extra_docs) and returns: str, _docstring_header, str, _docstring_args, str, _docstring_kwargs, str, _docstring_other, str, _docstring_extra, str