class_docstr: Simple plugin for a bokeh framework
docstr: Draw figures with metrics and show
docstr_tok: ["Draw","figures","with","metrics","and","show"]
code: def send(self, logger: MainLogger) -> None:
      """Draw figures with metrics and show"""
      log_groups = logger.grouped_log_history()
      new_grid_plot = False
      for idx, (group_name, group_logs) in enumerate(
          log_groups.items(), start=1
      ):
          fig = self.figures.get(group_name)
          if not fig:
              fig = self.plotting.figure(title=group_name)
              new_grid_plot = True
          self.figures[group_name] = self._draw_metric_subplot(
              fig, group_logs
          )
      if new_grid_plot:
          self._create_grid_plot()
      if self.is_notebook:
          self.io.push_notebook(handle=self.target)
      else:
          self.plotting.save(self.grid)
  
file_path: livelossplot/livelossplot/outputs/bokeh_plot.py
imports: from typing import List, Dict, Tuple
  from livelossplot.main_logger import MainLogger, LogItem
  from livelossplot.outputs.base_output import BaseOutput
label_desc: Use image node_id 2 for calling the BokehPlot obj's underlying member method code with example usage: obj.send(logger) without return types