Introduction¶
Learning Objectives¶
Installing and Setting Up JupyterLab¶
Using conda¶
conda create -n geo python=3.12
conda activate geo
conda install -c conda-forge jupyterlab leafmapUsing pip¶
pip install jupyterlab leafmapVerifying Your Installation¶
jupyter lab --versionGetting Started with JupyterLab¶
Launching JupyterLab¶
jupyter lab# Launch on a specific port (useful if the default port is busy)
jupyter lab --port=8889
# Launch without automatically opening browser (useful for remote servers)
jupyter lab --no-browser --port=8888Understanding the JupyterLab Interface¶
Creating Your First Notebook in JupyterLab¶
Essential Keyboard Shortcuts¶
Understanding Notebook Modes: The Foundation¶
The Most Important Shortcuts¶
Command Mode Shortcuts (Press Esc first)¶
Edit Mode Shortcuts (Press Enter first)¶
Running Code Examples on MyBinder¶
Key Takeaways¶
Exercises¶
Exercise 1: Setting Up Your Geospatial JupyterLab Environment¶
conda create -n geolab python=3.12
conda activate geolabconda install -c conda-forge jupyterlab geopandas matplotlib ipyleaflet