import matplotlib matplotlib.use("module://kivy_garden.matplotlib.backend_kivy") from matplotlib.figure import Figure from numpy import arange, sin, pi from kivy.app ...
When matplotlib widget is loaded in python interactive mode, the plot will eventually cause Jupyter core to hangs. And it is not possible to submit next block of code or do anything until restarting ...