code: def cb(attr, old, new):
      columns[0].visible = toggle.active
  
imports: from bokeh.io import curdoc
  from bokeh.layouts import row
  from bokeh.models import ColumnDataSource, DataTable, TableColumn, Toggle
  from bokeh.plotting import figure
label_desc: Use image node_id 1 for calling a global function with example usage: cb(attr, old, new) without return types