code: def disable(self):
          
          if self._enabled:
              for fig, cids in self._cids:
                  for cid in cids:
                      fig.canvas.mpl_disconnect(cid)
              self._enabled = False
          return self
docs: Disconnects all callbacks and disables interactivity. Any existing
          annotations will continue to be visible (and draggable, if applicable).
          This has no effect if the datacursor has not been enabled. Returns self
          to allow "chaining". (e.g. ``datacursor.hide().disable()``)