Matplotlib sixel backend
Project description
Matplotlib sixel backend.
It can draw matplotlib figures in SIXEL available terminal.
Install libsixel
In addition to
pip install pyplotsixel
you need to install libsixel https://github.com/saitoha/libsixel.
I installed libsixel with the Ubuntu apt package as follows.
sudo apt install libsixel-dev
Example
import matplotlib import matplotlib.pyplot as plt import numpy as np matplotlib.use('module://pyplotsixel') x = np.linspace(0, 1) y = x**2 plt.plot(x, y) plt.show()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyplotsixel-0.1.1.tar.gz
(2.4 kB
view details)
File details
Details for the file pyplotsixel-0.1.1.tar.gz
.
File metadata
- Download URL: pyplotsixel-0.1.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3e0e8046eee9d1e539c6392552819cf6d10404fdb8dd41df038c9de3332e6dc |
|
MD5 | e6d36f24f70eee9e308763973adb9a81 |
|
BLAKE2b-256 | c7306003c128948b2158d13910fbbbf49887dc3f03a16e31fee66768d57e2cf1 |