plotext
plotext plots directly on terminal
What it is and what it does
plotext is a Python library that renders data visualizations directly in the terminal as text and colored output. It eliminates the need for graphical windows or external rendering tools, making it useful for remote environments, CI/CD pipelines, and quick data exploration in the shell. The library supports a wide range of plot types—from basic scatter and line plots to specialized ones like candlestick charts and confusion matrices—and can also display images and stream video with audio.
The package has no required runtime dependencies, keeping installation lightweight. Optional dependencies are available only if you want image or video features. It includes a command-line tool for direct plotting and can save plots as text or colored HTML. The library is actively maintained and has accumulated a substantial user base, though the author is currently working on a new version.
Use it for:
- Visualize data in SSH sessions or remote servers where graphical displays are unavailable.
- Generate plots in CI/CD pipelines or automated scripts to inspect results without external tools.
- Quick exploratory data analysis in the terminal during development or debugging.
- Display real-time metrics or monitoring data as live terminal charts.
- Create terminal-based dashboards or status displays for command-line applications.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Renders plots directly in the terminal using text and color, supporting scatter, line, bar, histogram, datetime, candlestick, error, and confusion-matrix plots, plus image and video display.
Yes. plotext is well-maintained, has no required dependencies, carries permissive MIT licensing, and fills a genuine niche for terminal-based visualization. It's particularly valuable for remote work, automation, and environments where graphical output is impractical. The author's note about ongoing development is worth monitoring, but current releases are stable and actively used.
Install
plotext on PyPI
pip
pip install plotextuv
uv add plotextpoetry
poetry add plotextInstalling plotext
Before you install
Low install friction with no runtime dependencies (optional dependencies only for image/video features). Active maintenance with recent commits; author notes ongoing work on a new version.
License in practice
MIT license permits unrestricted use, modification, and distribution in commercial and private projects with minimal restrictions.
Quickstart
pip install plotext
import plotext as plt
plt.scatter([1, 2, 3], [2, 4])
plt.show()
Verify before relying
- Whether the new version mentioned in the description will introduce breaking changes or new dependencies.
- Performance characteristics when rendering large datasets or complex plots in the terminal.
- Specific Python version requirements beyond the stated minimum of 3.5.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.5) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 689 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,336,246/month — #4,033 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: plotext-5.3.2-py3-none-any.whl
Tags
More Terminals packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
richRich renders styled text, tables, progress…
permissive · top 100 on PyPI
coloramaColorama makes ANSI escape sequences for…
permissive · top 100 on PyPI
wcwidthMeasures the displayed width of Unicode strings…
permissive · top 1,000 on PyPI
ptyprocessRun a subprocess in a pseudo terminal (pty) and…
permissive · top 1,000 on PyPI
pexpectPexpect spawns and controls interactive console…
permissive · top 1,000 on PyPI
textual-plotextWraps the Plotext plotting library as a Textual…
permissive · top 15,000 on PyPI
termplotlibtermplotlib renders line plots, histograms, and…
copyleft · top 15,000 on PyPI
plotillePlotille renders plots, scatter plots,…
permissive · top 15,000 on PyPI
plotnineplotnine implements a grammar of graphics for…
permissive · top 5,000 on PyPI
histHist provides a user-friendly interface for…
permissive · top 15,000 on PyPI
plotly-expressPlotly Express is now a compatibility shim that…
permissive · top 5,000 on PyPI
dvc-renderRenders data in DVC plots format into Vega…
permissive · top 5,000 on PyPI
crayonsCrayons provides colored text output for…
permissive · top 15,000 on PyPI
pastelPastel adds colored text output to terminal…
permissive · top 5,000 on PyPI
mplfinancemplfinance provides matplotlib-based…
permissive · top 15,000 on PyPI