Skip to main content

matplotlib-tufte

matplotlib-tufte is a python module to create Tufte-like plots with matplotlib.

Inspiration is drawn from Edward Tufte: The Visual Display of Quantitative Information.

Requirements

  • python >= 3.7
  • matplotlib

Examples

See examples/Basic.ipynb for some small examples of tuftelike plots.

Usage

Create your plots with matplotlib as usual. Then, run tuftelike.adjust with the x- and y-values of your plot to adjust it in-place.

import matplotlib.pyplot as plt
import tuftelike

xs, ys = [1, 2, 3, 4], [1, 4, 2, 3]
plt.plot(xs, ys)

tuftelike.adjust(xs, ys)
plt.savefig("example.png")

Tuftelike needs the x- and y-values because matplotlib does not store these internally. The above code produces:

an example tuftelike plot.

Metadata

Release files for matplotlib-tufte 1.1.1

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

Source distribution (sdist)

Source distribution for matplotlib-tufte 1.1.1
File Size Uploaded Provenance Actions
matplotlib_tufte-1.1.1.tar.gz 8.4 kB Without provenance Details for matplotlib_tufte-1.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for matplotlib-tufte 1.1.1
File Interpreter ABI Platform Actions
matplotlib_tufte-1.1.1-py3-none-any.whl Python 3 none any Details for matplotlib_tufte-1.1.1-py3-none-any.whl

Total release size: 25.8 kB

Release files / matplotlib_tufte-1.1.1.tar.gz

Download URL matplotlib_tufte-1.1.1.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
736277d14a3c3845eecca3737f884d99e752bef605325839275fd55aeacdb008
BLAKE2b-256 checksum
How to use checksums
67824f3e3192da688c86b540aef89fcee3d434d300f90b4d70d9e3e7ab3c7a2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.7.17 Linux/5.4.109+

Release files / matplotlib_tufte-1.1.1-py3-none-any.whl

Download URL matplotlib_tufte-1.1.1-py3-none-any.whl
Size 17.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5e16a9aae52659ebd72d7505285a67feca0f8e321e07184787f95dc86f1e63d6
BLAKE2b-256 checksum
How to use checksums
4b7c9eeb92d81ef963eb354a75f03bb31228f5fe5d990bda946f62ebcaec790b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.7.17 Linux/5.4.109+

Security for matplotlib-tufte 1.1.1

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