code: def get_tick_formatter(formatter_arg):
      if issubclass(formatter_arg.__class__, TickFormatter):
          return formatter_arg
      elif isinstance(formatter_arg, str):
          return NumeralTickFormatter(format=formatter_arg)
      else:
          raise ValueError(
              "<colorbar_tick_format> parameter only accepts a string or a objects of bokeh.models.formatters."
          )
  
file_path: Pandas-Bokeh/pandas_bokeh/geoplot.py
imports: import numbers
  from collections.abc import Hashable, Iterable
  import numpy
  import pandas
  from bokeh.colors import RGB
  from bokeh.models import NumeralTickFormatter, TickFormatter
  from bokeh.tile_providers import get_provider
  from .base import embedded_html
label_desc: Use image node_id 5 for calling a global function with example usage: get_tick_formatter(formatter_arg) and returns: formatter_arg, NumeralTickFormatter