class_docstr: Test docstring. 
class_docstr_tok: ["Test","docstring","."]
code: def onclick(self, event):
      if event.xdata and event.ydata:
          if self.shift_down or event.button == 3:
              self.controller.add_example(event.xdata, event.ydata, -1)
          elif event.button == 1:
              self.controller.add_example(event.xdata, event.ydata, 1)
  
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 5 for calling the View obj's underlying member method code with example usage: obj.onclick(event) without return types