class_docstr: Class that creates a callable object to retrieve mouse clicks in a
  blocking way.
  
  This class will also retrieve keyboard clicks and treat them like
  appropriate mouse clicks (delete and backspace are like mouse button 3,
  enter is like mouse button 2 and all others are like mouse button 1).
docstr: Will be called for any event involving button 2.
  Button 2 ends blocking input.
docstr_tok: ["Will","be","called","for","any","event","involving","button","2",".","Button","2","ends","blocking","input","."]
code: def mouse_event_stop(self, event):
      """
      Will be called for any event involving button 2.
      Button 2 ends blocking input.
      """
  
      # Remove last event just for cleanliness
      BlockingInput.pop(self, -1)
  
      # This will exit even if not in infinite mode.  This is
      # consistent with MATLAB and sometimes quite useful, but will
      # require the user to test how many points were actually
      # returned before using data.
      self.fig.canvas.stop_event_loop()
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  import matplotlib.lines
  import logging
label_desc: Use image node_id 6 for calling the BlockingMouseInput obj's underlying member method code with example usage: obj.mouse_event_stop(event) without return types