admin管理员组

文章数量:1322838

There's an answer here showing how to minimize the navigation pane to make it show the icons only. Basically, you just need to click the first folder icon on the left.

How can I hide the vertical navigation pane on the left pletely?

There's an answer here showing how to minimize the navigation pane to make it show the icons only. Basically, you just need to click the first folder icon on the left.

How can I hide the vertical navigation pane on the left pletely?

Share Improve this question edited Feb 14, 2019 at 15:53 multigoodverse asked Feb 11, 2019 at 22:51 multigoodversemultigoodverse 8,07219 gold badges66 silver badges112 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 8 +100

There's an open issue for this feature which is not implemented yet.

So, there's no current way of setting a custom rule in the Settings > Advanced Settings Editor > Sidebar menu.

While this feature is not added, what you can do is to write a small browser extension to execute this code on every notebook server (in the onDOMContentLoaded event):

const leftSidebar = document.querySelector('.jp-SideBar')
document.querySelector('#jp-main-content-panel').removeChild(leftSidebar)

You can try this code in the inspector console and then open/create a new notebook.

You can check other workarounds here and here.

本文标签: javascriptJupyter Lab hide vertical navigation paneStack Overflow