how to create a draggable legend in matplotlib?,"legend.figure.canvas.mpl_connect('motion_notify_event', self.on_motion)"