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 - matplotlib2tikz :
pip install matplotlib2tikz - numpy :
pip install numpy
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.4
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.4.tar.gz | 8.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| plotter-1.3.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.8 kB
Release files / plotter-1.3.4.tar.gz
| Download URL | plotter-1.3.4.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9558e38788943b692e97d2cf2c096963a30544e58c8e82e15cc307e9277cf06a
|
|
BLAKE2b-256 checksum How to use checksums |
bb7c8f9742e16e97c2cfb23d580b8bcb2e4650b27c1c5b58eb05b4de2acbca45
|
| 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.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|
Release files / plotter-1.3.4-py3-none-any.whl
| Download URL | plotter-1.3.4-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
531c0fdd956bf71a5ad1b242426d2fbfafba4756e631836089dcf9c024eb390c
|
|
BLAKE2b-256 checksum How to use checksums |
b0f30686aaa9c7fbcfa23b877de2aed853028ffd9e4af3a4680c8728c72cf539
|
| 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.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|