Skip to content

piccolomo/plotext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 "plotext[completion]" to allow TAB completion in the command line tool (under development),
  • 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,
    • pip install "plotext[completion] @ git+https://github.com/piccolomo/plotext.git" to include the TAB completion dependency,
  • the optional packages are pillow (for image plotting), opencv-python (for video rendering), ffpyplayer (to stream audio), pafy and youtube-dl (to stream YouTube), shtab (for TAB completion),
  • 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