Convert any matplotlib figure with 1 function

Convert any matplotlib figure into kivy interactive graph with only 2 lines in your ipython console

from kivy_matplotlib_widget.tools.interactive_converter import interactive_graph_ipython

interactive_graph_ipython(fig) #fig is your matplotlib figure instance
See interactive_converter folder in the examples for more details.