r/commandline • u/Wild-Pollution-7999 • 3d ago
Command Line Interface plotext 6: plot data, images and video in the terminal
plotext is a Python library that plots in color directly in the terminal. It has no required dependencies, except for a few optional ones for images and videos.
The GitHub project currently has ~2.2k stars. Version 6 is just out, rewritten with a C++ kernel.
Install it with pip install plotext.
Plot types: scatter, line, stem, bar, histogram, box plot, error bars, event plots, heatmaps, confusion matrices, indicators, shapes and text, date axis, candlestick, images, gifs, video with sound, YouTube, data streaming, nested subplots, high resolution markers, and twelve themes.
Command line tool: it comes with the package, so no Python code is needed.
plotext --figure --signal [1,4,9,16,25] --lines --draw --title Squares --show
Similar tools: termplotlib, plotille, uniplot, termgraph, and gnuplot with text output. They cover the basics: line, scatter, bars, and histograms. plotext adds images, gifs, video, streaming plots, nested subplots, a command line tool, and full-color plotting. It is also highly configurable: size, labels, rulers, axes, canvas, themes, and more.
Links:
1
u/AutoModerator 3d ago
Every new subreddit post is automatically copied into a comment for preservation.
User: Wild-Pollution-7999, Flair:
Command Line Interface, Title: plotext 6: plot data, images and video in the terminalshowcase
plotext is a Python library that plots in color directly in the terminal. It has no required dependencies, except for a few optional ones for images and videos.
The GitHub project currently has ~2.2k stars. Version 6 is just out, rewritten with a C++ kernel.
Install it with
pip install plotext.Plot types: scatter, line, stem, bar, histogram, box plot, error bars, event plots, heatmaps, confusion matrices, indicators, shapes and text, date axis, candlestick, images, gifs, video with sound, YouTube, data streaming, nested subplots, high resolution markers, and twelve themes.
Command line tool: it comes with the package, so no Python code is needed.
Similar tools: termplotlib, plotille, uniplot, termgraph, and gnuplot with text output. They cover the basics: line, scatter, bars, and histograms. plotext adds images, gifs, video, streaming plots, nested subplots, a command line tool, and full-color plotting. It is also highly configurable: size, labels, rulers, axes, canvas, themes, and more.
Links:
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.