In [1]:
import numpy as np
import matplotlib.pyplot as plt
from bokeh import mpl
x = np.linspace(-2 * np.pi, 2 * np.pi, 100)
y = np.sin(10 * x)
plt.plot(x, y, "g-")
plt.title("Matplotlib Figure in Bokeh")
mpl.to_bokeh(notebook=True)
In [ ]: