Plotting library with descriptive approach
Project description
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:
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
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
File details
Details for the file plotter-1.3.2.tar.gz.
File metadata
- Download URL: plotter-1.3.2.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06b56b245a4576645d1a2501d2ce59b5e3e006075a50d4922e98105a8b73e002
|
|
| MD5 |
2936b5ff0ff0d4b1fbf34d3219414375
|
|
| BLAKE2b-256 |
afb6fcd4288fde163c903c46cb6db4b3b47727ba1ffec9decca116a630d07167
|
File details
Details for the file plotter-1.3.2-py3-none-any.whl.
File metadata
- Download URL: plotter-1.3.2-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ac248c3c13189b93a656c921c26cbc18d6b69439de2dd7172ae32acfa0de78a
|
|
| MD5 |
3cdedc251dd745cc86c516c8eaebf36c
|
|
| BLAKE2b-256 |
85782110a2bb27536a44a518b62b919031ce2300fee700a84d2cbc4697304a7b
|