code: def fig(color, row, col):
      p = figure(
          width=150, height=150, min_border=5, toolbar_location=None
      )
      p.circle(x=0, y=0, radius=1, color=color)
      if row % 2 == 0:
          p.extra_x_ranges["x"] = Range1d(0, 100)
          p.add_layout(LinearAxis(x_range_name="x"), "above")
      if col % 2 == 1:
          p.extra_y_ranges["y"] = Range1d(0, 100)
          p.add_layout(LinearAxis(y_range_name="y"), "right")
      return p
  
imports: from bokeh.layouts import gridplot
  from bokeh.models import LinearAxis, Range1d
  from bokeh.plotting import figure, save
label_desc: Use image node_id 1 for calling a global function with example usage: fig(color, row, col) and returns: p