class_docstr: WIT widget for colab.
class_docstr_tok: ["WIT","widget","for","colab","."]
code: def update_example(self, index, example):
      self.updated_example_indices.add(index)
      self.examples[index] = example
      self._generate_sprite()
  
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 8 for calling the WitWidget obj's underlying member method code with example usage: obj.update_example(index, example) without return types