The Enable Full Width Notebook setting only affects the size of the notebook cells, not the toolbar.
I demonstrated that to myself by going to here and clicking on the ‘launch binder’ badge there to get a session in a remote computer. You’ll get more of an idea of what does what trying that, ideally in a different browser than where you are running Jupyter typically, just in case there’d be settings, like CSS, in the browser affecting the other.
As to your issue…
Did you try clicking the JupyterLab button in the upper right area of your screenshot, and then toggling on ‘simple mode’ by going to ‘View’ > ‘Appearance’ > ‘Simple Interface’, it it doesn’t already start out that way? That may suit you better. You can toggle open or closed the file browser panel on the left side by hitting the folder icon in the left sidebar area.
Barring that, ‘Zen Mode’ combined with the Enable Full Width Notebook setting may be what you want if you don’t want JupyterLab? (Note that you need to check Enable Full Width Notebook before ‘Zen Mode’ to enable both the most conveniently, I think.)
-
I didn’t see anything that said “Launch binder” in the github link. Regardless, to test whether it was an Opera problem, I tried opening Jupyter Notebook in other browsers using your suggestions from this thread, but it keeps opening Jupyter in Opera. As a side note, I don’t know why Jupyter always opens in Opera, since Chrome is my default browser.
-
“Simple interface” is already enabled when I open JupyterLab.
-
That’s better, but not what I want, either. I just want to fix my display settings to how they were 24 hours ago.
The launch badge is right there to the left of the middle of this image of that page I referenced above:
Or just click this link to launch a remote MyBinder-served temporary Jupyter Notebook instance to skip going to the Jupyter Notebook Github repo to launch.
Bonus: If you use these MyBinder launch options I suggest (more below), you should be able to paste the link addresses/URLs in any browser you have opened, and that will run the subsequent launches in that browser. And not automatically take you to Opera.
The problem is we don’t know what really happened. As you only say you hit a keyboard shortcut wrong and offer no image or versions specifics of the situation before.
My suspicion would be at some point you updated things on your system, maybe a while ago, and only refreshed your browser cache and got the newer version of the notebook today? Just speculation on my part, given what you show in your screenshot is the typical current notebook interface (Version 7), as best I can tell.
If you wanted the older looking Jupyter Notebook interface, you may be interested in NbClassic. You can try that out by clicking this link to launch into that interface for a MyBinder Jupyter session. When it comes up, you’ll want to click on the ‘New’ button over on the right side to open a new notebook file to see if that is more to your liking.
To offer evidence that is a legit offering you can trust, I point out that it is based on Jeremy Tuloup’s gist here.
And I wouldn’t suggest installing it locally if you can manage without it as it is not the direction things are going in Jupyter development. You can use the MyBinder session if you prefer that option and what you are trying is not too computationally demanding. There’s an ‘Upload’ button next to the ‘New’ button I indicated earlier. Just keep in mind it is running on a temporary, remote session anonymously, and so I’d suggest saving and downloading the new version of the notebook back to your local file system often. To get some of what you show to work, you’ll want to add a cell in your notebook like the following and run it:
%pip install pandas statsmodels ISLP
Things may not work well much beyond that step because you may hit computational limits; however, it may at least get you far enough to see if things look like how you had it 24 hours ago?
Thank you so much for your patience. This actually helped me figure out that the source of my problem had nothing whatsoever to do with Jupyter. Previously, I had always used Jupyter with Opera zoomed in to 150% so I had less dead space on the edges and the text was bigger. Whatever keyboard shortcut I’d hit had reset the zoom settings back to default. Once again, thank you for your help.
Glad you found it — browser zoom is a very easy one to miss because it can make Jupyter look like its layout changed even though nothing in Jupyter actually did.
For anyone else landing here later: if the notebook suddenly has more side whitespace or feels “shrunk,” check the browser zoom level first. In most browsers Ctrl/Cmd + 0 resets it, and Ctrl/Cmd + plus/minus adjusts it. Since this was Opera zoom, that also explains why Jupyter settings like “Enable Full Width Notebook” didn’t fully address the toolbar/layout you were seeing.

