Frequently asked questions (a growing collection of my hints and students' remarks)
I have multiple hard drives. How can I change directory e.g. from C: to D:?
Open a terminal and navigate to the desired directory. Type jupyter notebook and jupyter will open in the current directory.
Example Windows: Open Anaconda, launch CMD.exe Prompt, run D:, run jupyter notebook
The figures in jupyter notebook are too small. I cannot see details. How can I fix this?
Run the following cell in your notebook: plt.rcParams['figure.figsize'] = [40, 15]
(The numbers describe the standard width and height of figures. You may have to adapt them according to your screen resolution and browser zoom to find the optimal values.)
Alternative: Export the image with high resolution.
In the same cell of your plot write at the end: plt.savefig('name.png', dpi = 300)
While working on my notebook, I get the pop-up message:
Notebook validation failed: Non-unique cell id 'waiting-opening' detected.
I cannot even save my notebook anymore.
It is unknown what exactly causes this issue but it sometimes occurs after copying cells in the notebook causing non-unique IDs. A quick-and-dirty fix is to select the whole notebook [Ctrl+A], cut (click the scissors icon) and paste right after (paste icon).
(Your whole notebook will disappear in the process but gets restored with unique IDs.)