New Jupyter Notebook Interface
Asked Answered
M

2

3

I cannot figure out why my jupyter notebook looks different. I did my usual setup, where I created a virtual environment with python 3.9 so python -m venv my_env and the installed jupyter notebook pip install jupyter notebook. The jupyter notebook looks completely different. Can anyone help me on how to get back to the original one?

What I want to get back to: enter image description here

What I currently have: enter image description here

I tried reinstalling jupyter notebook. The current version is 7.0.2

Metrics answered 4/8, 2023 at 14:19 Comment(1)
You answered your own first sentence ("I cannot figure out why my jupyter notebook looks different.") with your last sentence ("The current version is 7.0.2.") Projects develop and you may find it advantageous to keep up with the changes. (Or at least be aware of the the developments.) Sometimes there's options to keep the more familiar. In your case, you are looking for NbClassic. The developers have made that the way to keep the older style interface. I'll post an answer so that I can point to more resources.Sonja
S
3

"The jupyter notebook looks completely different. Can anyone help me on how to get back to the original one?"

To address the second question quoted, you are looking for NbClassic. The developers have made that the way to keep the older style interface.

From the NbClassic repository:

"NbClassic provides a backwards compatible Jupyter Notebook interface that you can install side-by-side with the latest versions: That way, you can fearlessly upgrade without worrying about your classic extensions and customizations breaking.
How does it work?
Because NbClassic provides the classic interface on top of the new Jupyter Server backend, it can coexist with other frontends like JupyterLab and Notebook 7 in the same installation. NbClassic preserves the custom classic notebook experience under a new set of URL endpoints, under the namespace /nbclassic/."

More about that and the answers to your first questions are covered by looking into the following resources that discusses recent developments in regards to the interface options for editing and running .ipynb files in the Jupyter ecosystem.

More on Jupyter ecosystem, an overview:
https://twitter.com/jtpio/status/1683399787876429825 July 2023

"Our talk with @JohanMabille on Navigating the Jupyter Landscape is now available on YouTube 🎦 🎉
Check it out if you want a high-level overview of the Jupyter ecosystem and learn more about the underlying projects and libraries.Jeremy Tuloup, Johan Mabille Navigating the Jupyter Landscape | JupyterCon 2023"

Sonja answered 4/8, 2023 at 16:10 Comment(0)
J
0

for the NbClassic, you need to downgrade to notebook version 6.1.*

Jude answered 4/8, 2023 at 16:5 Comment(1)
Version 6.1 isn't NbClassic. It is 'Classic Notebook v6'. (Specifically, "NbClassic provides the classic interface on top of the new Jupyter Server backend", see here). See here for more about 'Classic Notebook v6'. And why not recommend 6.4 based on here?Sonja

© 2022 - 2024 — McMap. All rights reserved.