Skip to main content

Render matplotlib plots in terminal.

Project description


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


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])'gamma') # Use RendererGamma-fast/noblock from img2unicode renderer'block') # Use Renderer-fast/block from img2unicode'braille') # Use RendererGamma-fast/braille from img2unicode renderer

Sample results

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

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

matplitlib-terminal-0.1a2.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

matplitlib_terminal-0.1a2-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

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