code: def _set_fontsize(figure, fontsize, where):
      "Set fontsize on x- and y-axis"
      if isinstance(fontsize, int) and fontsize > 0:
          fontsize = f"{fontsize}pt"
      setattr(figure.xaxis, where, fontsize)
      setattr(figure.yaxis, where, fontsize)
  
file_path: Pandas-Bokeh/pandas_bokeh/base.py
imports: import bokeh.plotting
  from bokeh.embed import components
  from bokeh.layouts import gridplot
  from bokeh.resources import CDN
label_desc: Use image node_id 1 for calling a global function with example usage: _set_fontsize(figure, fontsize, where) without return types