This page illustrates the use of the built in activation button in Thebe.
By adding an element with the .thebe-activate
class and
setting the mountActivateWidget
option, an activate button
will be added to the page. Add rules to the
.thebe-activate
class to change styling to suit your needs.
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.