MplInteraction# class MplInteraction(figure)[source]# Base class for class providing interaction to a matplotlib Figure. Parameters: figure (figure) – The matplotlib figure to attach the behavior to. Attributes figure# The Figure this interaction is connected to or None if not connected. Methods disconnect()[source]# Disconnect interaction from Figure.