cave.utils.bokeh_routines module

cave.utils.bokeh_routines.get_checkbox(glyph_renderers, labels)[source]
Parameters:
  • glyph_renderers (List[List[Renderer]]) – list of glyph-renderers
  • labels (List[str]) – list with strings to be put in checkbox
Returns:

  • checkbox (CheckboxGroup) – checkbox object
  • select_all (Button) – button related to checkbox
  • select_none (Button) – button related to checkbox

cave.utils.bokeh_routines.get_radiobuttongroup(glyph_renderers, labels)[source]
Parameters:
  • glyph_renderers (List[List[Renderer]]) – list of glyph-renderers
  • labels (List[str]) – list with strings to be put in widget
Returns:

radiobuttongroup – radiobuttongroup widget to select one of the elements

Return type:

RadioButtonGroup