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.

Documentation

https://plotter-doc.xyz

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plotter-1.3.17.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plotter-1.3.17-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file plotter-1.3.17.tar.gz.

File metadata

  • Download URL: plotter-1.3.17.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.5

File hashes

Hashes for plotter-1.3.17.tar.gz
Algorithm Hash digest
SHA256 a542cea417158d93d2704a6e70eb6ea939b31d4eab20eb5e9539378f53c8624c
MD5 2d3ed10239a4d1983676b36646fc001e
BLAKE2b-256 dad0d48b89732cb71ac70800622a40003f8b545003f0c8f4ff0e1106c79349fd

See more details on using hashes here.

File details

Details for the file plotter-1.3.17-py3-none-any.whl.

File metadata

  • Download URL: plotter-1.3.17-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.5

File hashes

Hashes for plotter-1.3.17-py3-none-any.whl
Algorithm Hash digest
SHA256 f99605fb7cc8bdf68bc0dd0697037b86deb35995b544b7ec8ffdfac971194913
MD5 080e9df0fb1da3da5f518e068b0b119b
BLAKE2b-256 050f92007b4b707deae72fddfbe16752d9e3be0fcbe005d675eba834f7e67e9d

See more details on using hashes here.

Release history Release notifications | RSS feed

1.3.20

2 files

1.3.19

2 files

1.3.18

2 files

This release

1.3.17 This release

2 files

1.3.16

2 files

1.3.15

2 files

1.3.14

2 files

1.3.13

2 files

1.3.12

2 files

1.3.11

2 files

1.3.10

2 files

1.3.9

2 files

1.3.8

2 files

1.3.7

2 files

1.3.6

3 files

1.3.5

2 files

1.3.4

2 files

1.3.3

2 files

1.3.2

2 files

1.3

2 files

1.1

2 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