September 2014
Intermediate to advanced
512 pages
12h 39m
English
The CSS and JavaScript of the HTML notebook can be customized through the files in ~/.ipython/profile_default/static/custom, where ~ is your home directory, and default is your IPython profile.
In this recipe, we will use these customization options to add a new button in the notebook toolbar that linearly renumbers all code cells.
%%javascript cell magic as follows:In [1]: %%javascript // This function allows us to add buttons // to the notebook ...
Read now
Unlock full access