class_docstr: Test docstring. 
class_docstr_tok: ["Test","docstring","."]
code: def update_example(self, model, idx):
      x, y, l = model.data[idx]
      if l == 1:
          color = "w"
      elif l == -1:
          color = "k"
      self.ax.plot([x], [y], "%so" % color, scalex=0.0, scaley=0.0)
  
imports: from __future__ import division, print_function
  import matplotlib
  from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg
  from matplotlib.backends.backend_tkagg import NavigationToolbar2TkAgg
  from matplotlib.figure import Figure
  from matplotlib.contour import ContourSet
  import Tkinter
  import sys
  import numpy
  from sklearn import svm
  from sklearn.datasets import dump_svmlight_file
  from sklearn.externals.six.moves import xrange
label_desc: Use image node_id 6 for calling the View obj's underlying member method code with example usage: obj.update_example(model, idx) without return types