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.19
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.19.tar.gz | 12.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| plotter-1.3.19-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.8 kB
Release files / plotter-1.3.19.tar.gz
| Download URL | plotter-1.3.19.tar.gz |
|---|---|
| Size | 12.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3458a72b4fecbfcd41e4b93420acdfd71e74e1a3e8f421ad77ce35222cba778b
|
|
BLAKE2b-256 checksum How to use checksums |
ed8bf73a8c7e922abd3ed43a9322d9930eac934049abaecc660d14509e8f1306
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/57.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.5
|
Release files / plotter-1.3.19-py3-none-any.whl
| Download URL | plotter-1.3.19-py3-none-any.whl |
|---|---|
| Size | 11.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f81e8b36dfa2d20eb757a555aef64e08f81b2300d1c8196600afda4a1b9afda6
|
|
BLAKE2b-256 checksum How to use checksums |
6e4ca391a52575f206e85eb898bda7917e3e7b13ca88805db695f5a30eb8b099
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/57.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.5
|