code: def classical_gear(module, large_teeth, small_teeth):
      plot = figure(
          x_range=(-300, 150),
          y_range=(-100, 100),
          x_axis_type=None,
          y_axis_type=None,
          width=800,
          height=800,
          tools=tools,
      )
  
      radius = pitch_radius(module, large_teeth)
      angle = 0
      glyph = Gear(
          x=-radius,
          y=0,
          module=module,
          teeth=large_teeth,
          angle=angle,
          fill_color=fill_color[0],
          line_color=line_color,
      )
      plot.add_glyph(glyph)
  
      radius = pitch_radius(module, small_teeth)
      angle = half_tooth(small_teeth)
      glyph = Gear(
          x=radius,
          y=0,
          module=module,
          teeth=small_teeth,
          angle=angle,
          fill_color=fill_color[1],
          line_color=line_color,
      )
      plot.add_glyph(glyph)
  
      return plot
  
file_path: bokeh/examples/advanced/extensions/gears/gears.py
imports: from math import pi
  from bokeh.io import show
  from bokeh.layouts import column
  from bokeh.plotting import figure
  from gear import Gear
label_desc: Use image node_id 4 for calling a global function with example usage: classical_gear(module, large_teeth, small_teeth) and returns: plot