Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

matplotlib-terminal

Matplotlib backend to plot in terminal using matrach/img2unicode

This is in proof of concept stage, stay tuned!

Install it with:

pip install matplotlib-terminal

Usage:

import matplotlib_terminal
import matplotlib.pyplot as plt
# Or in short:
# from matplotlib_terminal import plt


plt.plot([0, 1], [0, 1])
plt.plot([1, 0], [0, 1], lw=3)
plt.scatter([0], [.5])

plt.show()
plt.show('gamma') # Use RendererGamma-fast/noblock from img2unicode renderer
plt.show('block') # Use Renderer-fast/block from img2unicode 
plt.show('braille') # Use RendererGamma-fast/braille from img2unicode renderer
plt.close()

Sample results

Gamma renderer: gamma renderer Block renderer: block renderer Braille renderer: braille renderer

Release files for matplitlib-terminal 0.1a2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for matplitlib-terminal 0.1a2
File Size Uploaded
matplitlib-terminal-0.1a2.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for matplitlib-terminal 0.1a2
File Interpreter ABI Platform
matplitlib_terminal-0.1a2-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 kB

Release files / matplitlib-terminal-0.1a2.tar.gz

Download URL matplitlib-terminal-0.1a2.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
df4fbe326d4066f420fba0294e1c6c014e78e929fd33a01c7d2839e132315c68
BLAKE2b-256 checksum
How to use checksums
b821b10d4db6951e83508befea0421062bda1675a6885bb0d67f064696e525b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.29.0 CPython/3.7.3

Release files / matplitlib_terminal-0.1a2-py3-none-any.whl

Download URL matplitlib_terminal-0.1a2-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
65710a3002116e9f9d08b9e12596e4fe90b276047bf578f0ca89b3d7d96fa23e
BLAKE2b-256 checksum
How to use checksums
683293300ab5cb5345a7cf8e8abb407cf68ec0794816eddcd5eeb1143074f20f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.29.0 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.1a2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page