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 plotextfor normal installation,pip install plotext --upgradeto 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),pafyandyoutube-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.2.tar.gz
(58.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
plotext-5.2.2-py3-none-any.whl
(59.7 kB
view details)
File details
Details for the file plotext-5.2.2.tar.gz.
File metadata
- Download URL: plotext-5.2.2.tar.gz
- Upload date:
- Size: 58.0 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.27.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
983188e558491d7949428ddcb0443af988831ed1d0c6eddebb0862fa67dfb8cf
|
|
| MD5 |
89e68b8659514908e7faa5f671cc4ce1
|
|
| BLAKE2b-256 |
b27427c274ba7636e828fea4f6ac01401cd0082de536717b12342095b682f4fe
|
File details
Details for the file plotext-5.2.2-py3-none-any.whl.
File metadata
- Download URL: plotext-5.2.2-py3-none-any.whl
- Upload date:
- Size: 59.7 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.27.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c07e88bd4f9cec1a61cb111090c6cfac4dcce8bb0d242cd37dff0ecc5c148d9
|
|
| MD5 |
76ead8be0ef5ff589ec18581354533f3
|
|
| BLAKE2b-256 |
e2bf43670a2d751ff003ac7afa6dfa3ff3fc44b0a2e4cb4cea37506d5a049d49
|