Example Launch Button

This page contains and example of how to add a button to your webpage which will automatically fetch the latest thebe version, load it and bootstrap the library. This is standalone code, please view the page source to see the example.

Once Thebe is active 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))

Note: this page also contains the built in status widget - see demo-status-widget.html for more info.