class_docstr: Class Docstring
  
  - Styling (.style)
  - Plotting (.plot)
  - Callouts (.callout)
  - Axes (.axes)
  - Bokeh figure (.figure)
class_docstr_tok: ["Class","Docstring","-","Styling","(",".style",")","-","Plotting","(",".plot",")","-","Callouts","(",".callout",")","-","Axes","(",".axes",")","-","Bokeh","figure","(",".figure",")"]
docstr: Create the source glyph and add it to the bokeh figure.
docstr_tok: ["Create","the","source","glyph","and","add","it","to","the","bokeh","figure","."]
code: def _add_source_to_figure(self):
      """Create the source glyph and add it to the bokeh figure."""
      source_text = """ch.set_source_label('Source')"""
      if self._blank_labels:
          source_text = ""
      source_text_color = "#898989"
      source_font_size = "10px"
      _source = bokeh.models.Label(
          x=self.style.plot_width * 0.9,
          y=0,
          x_units="screen",
          y_units="screen",
          level="overlay",
          text=source_text,
          text_color=source_text_color,
          text_font_size=source_font_size,
          text_align="right",
          name="subtitle",
      )
      self.figure.add_layout(_source, "below")
      return _source
  
imports: from collections import OrderedDict
  from functools import wraps
  import io
  from io import BytesIO
  import tempfile
  import warnings
  import bokeh
  from bokeh.io.export import _SVG_SCRIPT, wait_until_render_complete
  import bokeh.plotting
  from bokeh.embed import file_html
  from bokeh.resources import INLINE
  from IPython.display import display
  from PIL import Image
  from PIL.Image import Resampling
  from selenium import webdriver
  from selenium.webdriver.chrome.options import Options
  from chartify._core.style import Style
  from chartify._core.axes import BaseAxes, SecondYNumericalAxis, SecondAxis
  from chartify._core.plot import BasePlot
  from chartify._core.callout import Callout
  from chartify._core.options import options
label_desc: Use image node_id 5 for calling the Chart obj's underlying member method code with example usage: obj._add_source_to_figure() and returns: _source