plotext plots directly on terminal
Project description
plotext
plots directly on terminal
- it allows for scatter, line, bar, histogram and date-time plots (including candlestick),
- it can also plot error bars, confusion matrices, and add extra text, lines and shapes to the plot,
- you could use it to plot images (including GIFs) 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
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
andyoutube-dl
(to stream YouTube),shtab
(for TAB completion), - use the function
test()
to quickly test (up to image rendering) your newly installed version ofplotext
: 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
plotext-5.2.7.tar.gz
(58.1 kB
view details)
Built Distribution
plotext-5.2.7-py3-none-any.whl
(60.2 kB
view details)
File details
Details for the file plotext-5.2.7.tar.gz
.
File metadata
- Download URL: plotext-5.2.7.tar.gz
- Upload date:
- Size: 58.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.64.1 urllib3/1.26.5 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db135c37ad113268e2bc57f1fb9314349055b2ab87a7cc08096cdfb8097016ad |
|
MD5 | 800b8214ff862d83cbc747a307cd24cd |
|
BLAKE2b-256 | e9bb1f18c0f1dd606450e93a04e559a0386e75f5802a9599953d1d8d195052cc |
File details
Details for the file plotext-5.2.7-py3-none-any.whl
.
File metadata
- Download URL: plotext-5.2.7-py3-none-any.whl
- Upload date:
- Size: 60.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.64.1 urllib3/1.26.5 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72a3f4aa02b8e3809d770e691a70f011e035e71030cf633b26257700242caca0 |
|
MD5 | 13f6b762f9ea81ae713b8c76601b8edf |
|
BLAKE2b-256 | 4736874d2404090a7ff23b6de2431dc24e459d9dab8548ce804c48ba421b61aa |