Skip to content

Instantly share code, notes, and snippets.



Last active Sep 26, 2019
What would you like to do?
Adds a button to the ipython notebook toolbar to hide/show the input code cell. To use it, you have to put the custom.js file in your `.ipython_<profile name>/static/custom/` folder, where *<profile name>* is the ipython profile in use.
$([]).on('notebook_loaded.Notebook', function(){
'label' : 'toggle input cells',
'icon' : 'icon-refresh',
'callback': function(){$('.input').slideToggle()}

This comment has been minimized.

Copy link
Owner Author

@p3trus p3trus commented Mar 28, 2013

See Carreau's blog post's on how to customize the ipython notebook css and js.


This comment has been minimized.

Copy link

@Carreau Carreau commented Jul 8, 2013

Sorry I had to remove part of your comment on custom.js issue.
We can discuss about why privately by mail if you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment