Live data from Hacker News

Jupyter-themes – Custom Jupyter Notebook Themes

github.com

11–13 of 13 posts

Re: Jupyter-themes – Custom Jupyter Notebook Themes

#11
post #10

All I want is to hide the toolbar by default. Wastes several clicks and a few seconds of setup time every time I give a talk from a notebook.

Put this in .jupyter/custom/custom.js

  require(['base/js/namespace', 'jquery'], function(IPython, $) {
    $([IPython.events]).on('notebook_loaded.Notebook',   function() {
      $('#header-container').hide();
      $('.header-bar').hide();
      $('div#maintoolbar').hide();
      IPython.menubar._size_header();
    });
  });

Re: Jupyter-themes – Custom Jupyter Notebook Themes

#12
post #9

Very nice...but warning, it may require some effort to go back to default theme (see https://github.com/dunovank/jupyter-themes/issues/86 ) I can't actually recommend it until this is fixed.

The only step needed there was ctrl-F5. Browser caching can be annoying. I'm not sure that it is up to the jupyter devs to fix it though?
Post reply on HN