Skip to main content

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.0.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file pyplotsixel-0.1.0.tar.gz.

File metadata

  • Download URL: pyplotsixel-0.1.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for pyplotsixel-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9701458ac7c4f3eea5c058c41fe6edf2c2d4084dd1b876250607bdc7d645c91b
MD5 1f7959c531a8b54ca5ded94e060da82f
BLAKE2b-256 7b407f32e0e450fd58fe15d5ec4a6e1ca0c8130ef5c4225b8fb97dcc8d6d1adc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page