Skip to content
Snippets Groups Projects
Commit 76b62786 authored by Jens Henrik Goebbert's avatar Jens Henrik Goebbert
Browse files

tour

parent a0333ccf
No related branches found
No related tags found
No related merge requests found
%% Cell type:markdown id:flush-spare tags:
![jsc-logo.jpg](attachment:67258d94-84e6-4a0c-ae8f-c74332ec082e.jpg)
Author: [Jens Henrik Göbbert](mailto:j.goebbert@fz-juelich.de)
------------------------------------
%% Cell type:markdown id:saved-jonathan tags:
# JupyterLab Tour
This is the first time you are using JupyterLab? Let us have a look at the user interface and some general concepts.
-------------------------
%% Cell type:markdown id:african-disco tags:
## The JupyterLab Interface
Details: https://jupyterlab.readthedocs.io/en/stable/user/interface.html
JupyterLab provides **flexible building blocks** for interactive, exploratory computing.
### Traditional UI elements
- [Work area](https://jupyterlab.readthedocs.io/en/2.2.x/user/interface.html#main-work-area)
- [Sidebar](https://jupyterlab.readthedocs.io/en/2.2.x/user/interface.html#left-sidebar)
- [Menu bar](https://jupyterlab.readthedocs.io/en/2.2.x/user/interface.html#menu-bar)
- Status bar
Show how to change sizes of regions
#### Launcher
- opens by default if nothing else is open
- create a new launcher with the plus button
- Create new files or activities
- [more](https://jupyterlab.readthedocs.io/en/2.2.x/user/files.html#creating-files-and-activities)
#### File browser
- Basic file operations
- Drag & Drop
- Drag file into main work area to create new tab [video](https://youtu.be/uwMmHeDmRxk)
- Multiple Views of a single file [video](https://youtu.be/87ALbxm1Y3I)
- Upload- / download files [video](https://youtu.be/1bd2QHqQSH4),[video](https://youtu.be/Wl7Ozl6rMcc)
- Extension: Add Favorites
- Copy Shareable Link [video](https://youtu.be/2OHwJzjG-l4)
- open a new JupyterLab with that file opened
- Attention: NOT to share a file with others
- [more](https://jupyterlab.readthedocs.io/en/2.2.x/user/files.html)
#### Running Panel
- Overview of running kernels/terminals
- Attention: kernels keep running ever after closing the document
- Useful when focusing on a single document -> Single-document mode
- [more](https://jupyterlab.readthedocs.io/en/2.2.x/user/running.html#managing-kernels-and-terminals)
#### Command Palette
All user actions in JupyterLab are processed through a centralized command system.
The Command palette provides a keyboard-driven way to search for and run JupyterLab commands.
- All commands listed in sections
- Shortcut - Ctrl+Shift+C
- [more](https://jupyterlab.readthedocs.io/en/2.2.x/user/commands.html#command-palette)
%% Cell type:markdown id:cordless-mystery tags:
## JupyterLab Cells
- collapse all output
- collapse coding cells
- drag cells
%% Cell type:markdown id:changing-armenia tags:
## JupyterLab File Formats
JupyterLab provides a unified architecture for viewing and editing data in a wide variety of formats.
- [Markdown](https://jupyterlab.readthedocs.io/en/2.2.x/user/file_formats.html#markdown)
- running code from an md file
- select and Shift+Enter
- [CSV files](https://jupyterlab.readthedocs.io/en/2.2.x/user/file_formats.html#delimiter-separated-values)
- delimiter
- [JSON](https://jupyterlab.readthedocs.io/en/2.2.x/user/file_formats.html#json)
- [Vega-Lite](https://jupyterlab.readthedocs.io/en/2.2.x/user/file_formats.html#vega-vega-lite)
- [Images](https://jupyterlab.readthedocs.io/en/2.2.x/user/file_formats.html#images)
- .bmp, .gif, .jpeg, .jpg, .png, .svg
- zoom, flip, rotate.
- [more](https://jupyterlab.readthedocs.io/en/2.2.x/user/file_formats.html#images)
- [PDF](https://jupyterlab.readthedocs.io/en/2.2.x/user/file_formats.html#pdf)
- [Virtual DOM](https://jupyterlab.readthedocs.io/en/2.2.x/user/file_formats.html#virtual-dom)
%% Cell type:markdown id:complex-network tags:
### JupyterLab Menu
- File
- Revert Notebook to Checkpoint
- Jupyter creates a checkpoint file every single time you create an .ipynb file
- Updates checkpoint file: on manually save
- Edit
- View
- Show Log Console
- displays explicit messages that you won't see in a notebook (like the ipywidgets unhandled messages)
- Run
- Kernel
- Git
- Tabs
- shows open TABS **not** running kernels/terminals
- Settings
- JupyterLab Theme -> Theme Scrollbars
- JupyterLab handles the scrollbars so that they can be themed
- Help
- Launch Classic Notebook
- attention: do not open the same notebooks in JupyterLab and Jupyter Classic at the same time!
%% Cell type:markdown id:collected-extraction tags:
## JupyterLab Statusbar
- left:
- 0 [Terminals] 2 [Kernels]
- Git: idle
- Fully initialized
- Python 3 | Idle
- Mem: 256.23 MB
- right:
- Mode: Command or Edit
- Keyboard does different things depending on which mode the Notebook is in.
- ESC - exit edit mode -> command mode
- Enter - enter edit mode
- Security: Trusted
- Curser position: eg. Ln 14 Col 17
- Spellchecker: eg. English (American)
- Filename: eg. JupyterLab.ipynb
## JupyterLab SystemTray
- Control Panel
- light / dark
- Mem:261 MB
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment