# Terminal plotting libraries for Python

> Charts drawn with text characters, right in the terminal. 4 tools, ranked by GitHub stars.

Libraries that draw charts with Unicode characters directly in the terminal, useful over SSH, in scripts and in CI logs. Plotext mirrors the matplotlib API, while uniplot, termgraph and diagram keep things small.

| # | Tool | GitHub stars | Commits (12 mo) | License | Description |
|---:|---|---:|---:|---|---|
| 1 | [termgraph](https://awesomedataviz.com/tools/termgraph/) | 3,302 | 7 | MIT | Draws bar charts, histograms and other basic graphs in the terminal, as a CLI or Python library. |
| 2 | [Plotext](https://awesomedataviz.com/tools/plotext/) | 2,211 | 25 | MIT | Plots data directly in the terminal with a matplotlib-like syntax. |
| 3 | [uniplot](https://awesomedataviz.com/tools/uniplot/) | 460 | 36 | MIT | Lightweight plotting to the terminal. 4x resolution via Unicode. |
| 4 | [diagram](https://awesomedataviz.com/tools/diagram/) | 408 | 0 | MIT | Text mode diagrams using UTF-8 characters |

Source: https://awesomedataviz.com/categories/terminal-plotting/ · Data updated 2026-11-01 · Content: CC BY 4.0, Awesome Dataviz (https://awesomedataviz.com).
