%matplotlib inline import matplotlib.pyplot as plt import numpy as np
from mpld3 import enable_notebook enable_notebook(mpld3_url='/static/js/mpld3.js')
plt.plot([0,1],[2,3])
[<matplotlib.lines.Line2D at 0x108131e90>]