Render matplotlib plots in terminal.
Project description
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: Block renderer: Braille renderer:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file matplitlib-terminal-0.1a2.tar.gz
.
File metadata
- Download URL: matplitlib-terminal-0.1a2.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df4fbe326d4066f420fba0294e1c6c014e78e929fd33a01c7d2839e132315c68 |
|
MD5 | 61f598cea4ee03cd56b970dac42f5012 |
|
BLAKE2b-256 | b821b10d4db6951e83508befea0421062bda1675a6885bb0d67f064696e525b6 |
File details
Details for the file matplitlib_terminal-0.1a2-py3-none-any.whl
.
File metadata
- Download URL: matplitlib_terminal-0.1a2-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65710a3002116e9f9d08b9e12596e4fe90b276047bf578f0ca89b3d7d96fa23e |
|
MD5 | cffecf28a0b7a717cbf37f6931af3296 |
|
BLAKE2b-256 | 683293300ab5cb5345a7cf8e8abb407cf68ec0794816eddcd5eeb1143074f20f |