Hacker News new | past | comments | ask | show | jobs | submit login

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();
    });
  });




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: