Skip to main content

Plotter

Generate this README

  • in html: make html-readme then open README.html in web browser, firefox README.html for 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

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:

First example

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:

Second example

Documentation

Online documentation at https://plotter-doc.xyz

Build documentation locally

Requirements

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.18

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plotter 1.3.18
File Size Uploaded Provenance Actions
plotter-1.3.18.tar.gz 11.5 kB Without provenance Details for plotter-1.3.18.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for plotter 1.3.18
File Interpreter ABI Platform Actions
plotter-1.3.18-py3-none-any.whl Python 3 none any Details for plotter-1.3.18-py3-none-any.whl

Total release size: 23.3 kB

Release files / plotter-1.3.18.tar.gz

Download URL plotter-1.3.18.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1a1ad07fd58d715be8b569c381df5bdbccf824d77513ca0b9466b1ccb95521b2
BLAKE2b-256 checksum
How to use checksums
1ac28cc1a1d991db6541b4eee96bf9c7da85dee693b21ebfa758512c5e1ac6c4
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/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1

Release files / plotter-1.3.18-py3-none-any.whl

Download URL plotter-1.3.18-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf82e643e8d00301f97b731bacb130a9728241fe9d9aad1c63489c1d341dcc59
BLAKE2b-256 checksum
How to use checksums
cc93996fb8beea29920280690f2f64a1582a1882cf24ee03a7387ee93307ec58
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/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1

Security for plotter 1.3.18

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page