class_docstr: WIT widget for colab.
class_docstr_tok: ["WIT","widget","for","colab","."]
docstr: Constructor for colab notebook WitWidget.
  
  Args:
    config_builder: WitConfigBuilder object containing settings for WIT.
    height: Optional height in pixels for WIT to occupy. Defaults to 1000.
    delay_rendering: Optional. If true, then do not render WIT on
    construction. Instead, only render when render method is called. Defaults
    to False.
docstr_tok: ["Constructor","for","colab","notebook","WitWidget",".","Args",":","config_builder",":","WitConfigBuilder","object","containing","settings","for","WIT",".","height",":","Optional","height","in","pixels","for","WIT","to","occupy",".","Defaults","to","1000.","delay_rendering",":","Optional",".","If","true",",","then","do","not","render","WIT","on","construction",".","Instead",",","only","render","when","render","method","is","called",".","Defaults","to","False","."]
code: def __init__(
      self, config_builder, height=1000, delay_rendering=False
  ):
      """Constructor for colab notebook WitWidget.
  
      Args:
        config_builder: WitConfigBuilder object containing settings for WIT.
        height: Optional height in pixels for WIT to occupy. Defaults to 1000.
        delay_rendering: Optional. If true, then do not render WIT on
        construction. Instead, only render when render method is called. Defaults
        to False.
      """
      self._rendering_complete = False
      self.id = WitWidget.index
      self.height = height
      self.set_examples_in_progress = False
      # How large of example slices should be sent to the front-end at a time,
      # in order to avoid issues with kernel crashes on large messages.
      self.SLICE_SIZE = 10000
  
      base.WitWidgetBase.__init__(self, config_builder)
      # Add this instance to the static instance list.
      WitWidget.widgets.append(self)
  
      if not delay_rendering:
          self.render()
  
      # Increment the static instance WitWidget index counter
      WitWidget.index += 1
  
imports: import json
  import math
  import tensorflow
  from IPython import display
  from google.colab import output
  from witwidget.notebook import base
label_desc: Use image node_id 1 to create a new WitWidget object from inherited base classes: base with example: obj = WitWidget(config_builder, height, delay_rendering)