Skip to main content

Python library for SVG plots, with multi-panel composition and an extension API for custom plot types.

Project description

plotlet

plotlet is a Python library for SVG plots. It provides reproducible, byte-identical multi-panel scientific figures with a standard plotting vocabulary and a first-class extension story for custom plot types.

Documentation

Hands-on tour with executable examples:

Reference docs in docs/:

Reference plot types beyond the standard vocabulary live in src/plotlet/extensions/ (single-file) and cookbook/ (multi-file projects).

Dependencies

plotlet supports Python 3.10+.

Required: fonttools, scipy (used by regression, qq, pointplot, dendrogram). numpy / pandas / polars inputs work transparently.

Optional: cairosvg for PNG / PDF export.

Installation

pip install plotlet

Testing

pip install -e ".[test]"
pytest tests/                  # check vs. committed baselines
pytest tests/ --update         # regenerate (review the diff!)

Development

Development takes place on GitHub. Please submit bugs to the issue tracker with a reproducible example.

License

MIT

Project details


Download files

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

Source Distribution

plotlet-0.5.0.tar.gz (748.8 kB view details)

Uploaded Source

Built Distribution

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

plotlet-0.5.0-py3-none-any.whl (779.4 kB view details)

Uploaded Python 3

File details

Details for the file plotlet-0.5.0.tar.gz.

File metadata

  • Download URL: plotlet-0.5.0.tar.gz
  • Upload date:
  • Size: 748.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for plotlet-0.5.0.tar.gz
Algorithm Hash digest
SHA256 bc6df76f85302fed989ce3cf2707744bd243e2ea02b3e85bffd8a40b056ff6ee
MD5 79a227db20bbc504d102843d4c64fafb
BLAKE2b-256 bde544ca4ae215174b243c0b544f0e7bf74f107cf3f90967d52c5d64ec545ff8

See more details on using hashes here.

File details

Details for the file plotlet-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: plotlet-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 779.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for plotlet-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 805950517297ffa212a32067aa7e8d4653dc2bde9022aee078b008bc5e8d83c2
MD5 c527bbc8fdc8a3951f7755d55f5d21a1
BLAKE2b-256 560637d59140e3a94db0e42e26774b147dca5a98a7f5dc51854b8ceadb43336f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page