示例#1
0
 def disconnect(self):
     """
     Disconnect the tool from everything
     """
     QObject.disconnect(self)
     for cid in self._cids:
         self.canvas.mpl_disconnect(cid)
     self.fit_range.remove()
示例#2
0
 def disconnect(self):
     """
     Disconnect the tool from everything
     """
     QObject.disconnect(self)
     for cid in self._cids:
         self.canvas.mpl_disconnect(cid)
     self.fit_start_x.remove()
     self.fit_end_x.remove()