code: def animate_update():
      year = slider.value + 1
      if year > end:
          year = int(start)
      slider.value = year
  
file_path: holoviews/examples/gallery/apps/bokeh/gapminder.py
imports: import pandas
  import numpy
  import holoviews
  import panel
  from bokeh.sampledata import gapminder
  from holoviews import dim, opts
label_desc: Use image node_id 1 for calling a global function with example usage: animate_update() without return types