plotext
plots directly on terminal
- it allows for scatter, line, bar, histogram and date-time plots (including candlestick),
- it can also plot images (including GIF) and stream video with audio (including YouTube),
- it has no dependencies (except for optional dependencies for image/video plotting),
- it provides a simple command line tool,
- it can save plots as text or as colored
html
, - it provides a tool to color strings.
image code here.
pip install plotext
for normal installation,pip install plotext --upgrade
to upgrade to the latest 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.- the optional packages are
pillow
(for image plotting),opencv-python
(for video rendering),ffpyplayer
(to stream audio), andpafy
and "youtube-dl"(to stream YouTube), pip install git+https://github.com/piccolomo/plotext
, if you feel courageous, to install the GitHub version, if more updated.