/plotext

plotting on terminal

Primary LanguagePythonMIT LicenseMIT

plotext plots directly on terminal

subplots image code here

Install

  • pip install plotext for normal installation,
  • pip install plotext --upgrade to upgrade to the latest PyPi version,
  • pip install "plotext[image]" to install the optional dependency for image plotting (including GIFs),
  • pip install "plotext[video]" to install the optional dependencies for video rendering, which will also allow to plot images,
  • pip install git+https://github.com/piccolomo/plotext, to install the GitHub version, if more updated and you feel courageous,
    • pip install "plotext[image] @ git+https://github.com/piccolomo/plotext.git" to include image plotting dependencies,
    • pip install "plotext[video] @ git+https://github.com/piccolomo/plotext.git" to include video plotting dependencies,
  • the optional packages are pillow (for image plotting), opencv-python (for video rendering), ffpyplayer (to stream audio), pafy and youtube-dl (to stream YouTube),
  • use the function test() to quickly test (up to image rendering) your newly installed version of plotext: any issue report is very welcomed. This function will download and finally remove a test image.
  • created and tested in Ubuntu 22.04 and Python 3.10,

Guide

Main Plots

Plotting Utilities

2D Plots

Other Resources