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
Close
Hashes for matplotlib-terminal-0.1a2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | be0954a12b63b7671ec009f372e271b7baea1c25a413eba57633375b8698d930 |
|
MD5 | 491a9994494ca2607400dd5b2f446e12 |
|
BLAKE2b-256 | beedf36985a5603123fac63e5576e8a26fc4032ddf7648dc3eac224f35cc0ac4 |
Close
Hashes for matplotlib_terminal-0.1a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 549da363cd0128abe61197e0cfc31095c5137a9af641db7a8698bca354e702dc |
|
MD5 | d74c69fca90d4202886e448873736a58 |
|
BLAKE2b-256 | 61522ee00cbdf9e4dc9c6e8ae5f01f73b06cf9bfc69062c9b292dd844fa21e69 |