Notebooks in QGIS

Finally it’s here: Jupyter notebooks inside QGIS. I don’t know about you but I’ve been hoping for someone to get around to doing this for quite a while.

Qiusheng Wu published the first version of the Notebook plugin on 26 Dec 2025. Late Christmas present?!

For the setup, there’s a handy tutorial by Hans van der Kwast and, additionally, Qiusheng published an intro video:

Development is going fast (version 0.3.0 at the time of writing) so there will be new features when you install / update the plugin compared to both the tutorial and the video.

The user interface is pretty stripped down with just a few buttons to add new code or markdown cells and to run them. And there is a neat drop-down menu with all kinds of ready-made code snippets to get you started:

For other functionalities, for example, to delete cells, you need to right-click on the cell to access the function through the context menu. And, as far as I can tell, there is currently no way to rearrange cells (moving them up or down).

I also haven’t quite understood yet what kinds of outputs are displayed and which are not because – quite often – the cell output just stays empty, even though the same code generates output on the console:

Some of the plugin settings I would have liked to experiment with, such as adjusting the font size or enabling line numbers, don’t seem to work yet. So a little more patience seems to be necessary.

I’ll definitely keep an eye on this one :)

3 comments
  1. Morten Agerlin Petersen said:
    Morten Agerlin Petersen's avatar

    Interesting – when trying to install it I realised there is another apparentlty similar (experimental) plugin named QNotebook dated 11.09.2025:

    QNotebook – Jupyter-style Notebook for QGIS

    Overview

    QNotebook is a QGIS plugin that brings Jupyter-style notebook functionality directly into QGIS Python Console. It allows you to create, edit, and execute code cells interactively while working with your GIS data.Features

    QGIS variables pre-loaded in namespace

    Jupyter-style interface integrated into QGIS Python Console

    Multiple cell types: Code, Markdown, and Raw

    Shared namespace between cells

    Save/Load notebooks in Jupyter .ipynb format

    Export capabilities to HTML and Python scripts

    Code templates for common GIS operations

  2. Morten Agerlin Petersen said:
    Morten Agerlin Petersen's avatar

    QNotebook has an interesting Template dropdown with GIS related code templates

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.