Using the built in Status Widget

It's possible to create your own status widget just by listening to "status" events from thebelab, but the library also includes an easy to use status widget, with minimal styling that you can add to you page.

To add the widget. just add an element with the .thebe-status class to your page:

And set mountStatusWidget:true to the thebelab options.

This cell will turn into the live cell:

%matplotlib inline
import numpy as np
import matplotlib.pyplot as plt
x = np.linspace(0,10)
plt.plot(x, np.sin(x))
plt.plot(x, np.cos(x))