Plotter
Description
Plotter is a plotting library based on matplotlib. It intends to simplify the plotting of data in Python by creating a descriptive approach for plots. The plots can be static or dynamic.
Source code location
https://github.com/T-TROUCHKINE/plotter
Prerequisities
Linux packages
- tk :
- ArchLinux :
pacman -S tk - Debian :
apt install tk
- ArchLinux :
Python modules
- matplotlib :
pip install matplotlib - tikzplotlib :
pip install tikzplotlib - numpy :
pip install numpy
GTK3
For using GTK3 modules see PyGObject documentation (https://pygobject.readthedocs.io/en/latest/index.html)
Installation
From PIP
pip install plotter
From source
python3 setup.py install
Examples
Simplest example:
The code:
import numpy as np
from plotter import Plotter
x = np.linspace(-np.pi, np.pi, 201)
to_plot = [{
"title": "Example",
"type": "plot",
"data": [x, np.sin(x)]
}]
pl = Plotter(to_plot)
pl.show()
Gives:
Multi-plot:
The code:
import numpy as np
from plotter import Plotter
x = np.linspace(-np.pi, np.pi, 201)
to_plot = [{
"title": "Example 1",
"type": "plot",
"data": [x, np.sin(x)]
},
{
"title": "Example 2",
"type": "matrix",
"data": np.random.random((100,100))
}]
pl = Plotter(to_plot, figsuptitle="Multi-plot")
pl.show()
Gives:
Metadata
Release files for plotter 1.3.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| plotter-1.3.10.tar.gz | 10.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| plotter-1.3.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.2 kB
Release files / plotter-1.3.10.tar.gz
| Download URL | plotter-1.3.10.tar.gz |
|---|---|
| Size | 10.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
147716d8549837f1eae9e2b99c6d683043d6b127d0790563620946e4d84097a3
|
|
BLAKE2b-256 checksum How to use checksums |
b127b3dc06964d3e0e814b2ce4f372f9592050c9f985dace6ca0f7af832d82b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.5
|
Release files / plotter-1.3.10-py3-none-any.whl
| Download URL | plotter-1.3.10-py3-none-any.whl |
|---|---|
| Size | 10.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
320c317421d2ac34062899ee47b081d75a5ce594094de26e8c3cc91a997aac8b
|
|
BLAKE2b-256 checksum How to use checksums |
ca5ba543230794be578a755cad54f55c21f2517f4772dcb2261c867d8b19172f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.5
|