plotext plots directly on terminal
plotext plots directly on terminal: the syntax is very similar to
matplotlib, it has no dependencies (except for optional dependencies for image/video plotting) and can save plots as text or as colored
Image code here.
As usual, with:
pip install plotext
To upgrade to the latest version, with
pip install plotext --upgrade.
To install the optional dependency necessary (
pillow) to plot images (including GIFs), use:
pip install "plotext[image]"
To install the optional dependencies (
ffpyplayer) necessary to play videos, use:
pip install "plotext[video]"
which will also allow to plot images.
pip install youtube-dl==2020.12.2 has helped me with youtube video rendering problems.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.