class_docstr: WIT widget for colab.
class_docstr_tok: ["WIT","widget","for","colab","."]
code: def delete_example(self, index):
      self.examples.pop(index)
      self.updated_example_indices = set(
          [
              i if i < index else i - 1
              for i in self.updated_example_indices
          ]
      )
      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 7 for calling the WitWidget obj's underlying member method code with example usage: obj.delete_example(index) without return types