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.6
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.6.tar.gz | 8.8 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| plotter-1.3.6-py3.7.egg | Legacy Egg format | - | - | Details |
| plotter-1.3.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.0 kB
Release files / plotter-1.3.6.tar.gz
| Download URL | plotter-1.3.6.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
45c8436a2e7a5e59962af051ac5b0f4f920101579b65d1a25918dad37548d750
|
|
BLAKE2b-256 checksum How to use checksums |
4cf219423c21b9249b0fea45d5fa36703eb82fb830072b4df8cab1b2a8da3ebf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.4
|
Release files / plotter-1.3.6-py3.7.egg
| Download URL | plotter-1.3.6-py3.7.egg |
|---|---|
| Size | 20.1 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
d3c38fe2a00b2d1acad5130844fae32e7ab384194ceb0b24a9b4cfd3878295a0
|
|
BLAKE2b-256 checksum How to use checksums |
929c48c83c16af56f5227646fee3c4e321ede9e1aed8d56b3a55b14fd49915fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.4
|
Release files / plotter-1.3.6-py3-none-any.whl
| Download URL | plotter-1.3.6-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c5813c81e2cbfb9763773d6b90c73b130e50e9b728ec9bf61c276e0167a6449
|
|
BLAKE2b-256 checksum How to use checksums |
8fdcbb57ab0eb5c22dd1fd8961ddd9d1eb0662b8cdf76b8b1c73f5ea6cb32719
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.4
|