class_docstr: A polygon editor.
  
  Key-bindings
  
    't' toggle vertex markers on and off.  When vertex markers are on,
        you can move them, delete them
  
    'd' delete the vertex under point
  
    'i' insert a vertex at point.  You must be within epsilon of the
        line connecting two existing vertices
class_docstr_tok: ["A","polygon","editor",".","Key-bindings","'t","'","toggle","vertex","markers","on","and","off",".","When","vertex","markers","are","on",",","you","can","move","them",",","delete","them","'d","'","delete","the","vertex","under","point","'","i","'","insert","a","vertex","at","point",".","You","must","be","within","epsilon","of","the","line","connecting","two","existing","vertices"]
docstr: Callback for mouse button releases.
docstr_tok: ["Callback","for","mouse","button","releases","."]
code: def on_button_release(self, event):
      """Callback for mouse button releases."""
      if not self.showverts:
          return
      if event.button != 1:
          return
      self._ind = None
  
file_path: matplotlib/galleries/examples/event_handling/poly_editor.py
imports: import numpy
  from matplotlib.artist import Artist
  from matplotlib.lines import Line2D
label_desc: Use image node_id 6 for calling the PolygonInteractor obj's underlying member method code with example usage: obj.on_button_release(event) without return types