Plotter
Generate this README
- in html:
make html-readmethen openREADME.htmlin web browser,firefox README.htmlfor instance. - in pdf:
make pdf-readme
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:
Documentation
Online documentation at https://plotter-doc.xyz
Build documentation locally
Requirements
- jekyll (https://jekyllrb.com/)
- bundler (https://bundler.io/)
Command
cd doc
bundle exec jekyll build
Then the documentation is accessible in the doc/_site/ directory. Usable using
a web browser for instance: firefox doc/_site/index.html
Metadata
Release files for plotter 1.3.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| plotter-1.3.20.tar.gz | 12.0 kB | Without provenance | Details for plotter-1.3.20.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| plotter-1.3.20-py3-none-any.whl | Python 3 | none | any | Details for plotter-1.3.20-py3-none-any.whl |
Total release size: 23.8 kB
Release files / plotter-1.3.20.tar.gz
| Download URL | plotter-1.3.20.tar.gz |
|---|---|
| Size | 12.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a93cd1c4a775c6fb0176cb1c067bd01b4a645918e429924858edb4cadc574b2
|
|
BLAKE2b-256 checksum How to use checksums |
b46d2909ed953c678dbc3f756e74d951fe81b0a5301f3df6ac52680a6d1c81e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.8
|
Release files / plotter-1.3.20-py3-none-any.whl
| Download URL | plotter-1.3.20-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
821a933a237415bd42ffe34ce5ec1c35c1ba2ddf318d97f05170c0f7cede9fac
|
|
BLAKE2b-256 checksum How to use checksums |
7e5fb233e730ff0c0d32290a10a31ecbf5ae9b2528b7bb3c01b65badb650cb57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.8
|
Security for plotter 1.3.20
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.