code: def callback_checkbox(attr, old, new):
      '''Update visible data from parameters selectin in the CheckboxSelect'''
      import numpy
  
      for i in range(len(lines)):
          lines[i].visible = i in param_checkbox.active
          scats[i].visible = i in param_checkbox.active
  
      return Nonf callback_checkbox(attr, old, new):
      '''Update visible data from parameters selectin in the CheckboxSelect'''
      import numpy
  
      for i in range(len(lines)):
          lines[i].visible = i in param_checkbox.active
          scats[i].visible = i in param_checkbox.active
  
      return None
docs: Update visible data from parameters selectin in the CheckboxSelect