Skip to main content

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

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:

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

Metadata

Release files for plotter 1.3.5

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.5
File Size Uploaded
plotter-1.3.5.tar.gz 8.4 kB Details

Built distribution (wheel)

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

Total release size: 18.1 kB

Release files / plotter-1.3.5.tar.gz

Download URL plotter-1.3.5.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5f7ac6d66e7928c4d48f2453f9dce003143ea4814beded198477440a4a0dee2b
BLAKE2b-256 checksum
How to use checksums
018b542bb7f9115902bdae9a26fec6d9fea2beb1240ef1526f167520714ae36d
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.4

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

Download URL plotter-1.3.5-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0b334b11a2ddfa904c6ae3f5da65f12569dfb5ef8325ae6d6722a20ef1ae666b
BLAKE2b-256 checksum
How to use checksums
c179253dbc13b855a3456d81965076fd9a6bc5af92efabfbf0183f5217817bf1
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.4

Release history Release notifications | RSS feed

1.3.20

2 release files

1.3.19

2 release files

1.3.18

2 release files

1.3.13

2 release files

1.3.12

2 release files

1.3.11

2 release files

1.3.10

2 release files

1.3.9

2 release files

1.3.8

2 release files

1.3.7

2 release files

1.3.6

3 release files

This release

1.3.5 This release

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3

2 release files

1.1

2 release files

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