Simple tool for interactively viewing matplotlib figures in the terminal.
Find a file
2026-03-26 16:39:08 +00:00
src/easel init 2026-03-26 17:28:08 +01:00
.gitignore init 2026-03-26 17:28:08 +01:00
pyproject.toml init 2026-03-26 17:28:08 +01:00
README.md Update README.md 2026-03-26 16:39:08 +00:00

easel

Easel lets you view your plots right in the terminal using IPython.

Installation

I recommend you use uv to manage your packages. The installation is a single command: uv add git+https://git.leon-adsk.com/leon-adsk/easel.git

Usage

Once installed simply import cell from easel in any script like so:

from easel import cell
import matplotlib.pyplot as plt

@cell
def test_plot():
    fig, ax = plt.subplots()
    ax.plot([1, 2, 3], [10, 20, 10])
    plt.close(fig)
    return fig

You can keep this file open in your editor and keep another terminal on a vertical split; there, run uv run easel which will take you to a simple IPython environment. If you run a function with the @cell decorator figures in the output will be rendered in the terminal (provided you are using the Kitty terminal).