Skip to main content

Intro

A library of functions (just one at the moment) to streamline the saving and exporting of matplotlib plots as images and whatnot.

I wrote it because I was spending a lot of time creating and saving plots in another project of mine and wanted to automate it.

Usage

from matplotsave import pltsave

xs = list(range(10))
ys = [i**2 for i in xs]
with pltsave("myplot.png") as (fig,ax):
    ax.plot(xs,ys)

This will export the plot to myplot.png painlessly after you are given the chance to actually plot some data.

Because the pltsave context manager returns the fig and ax objects the entire matplotlib api is still accessible.

Metadata

Release files for matplotsave 0.1.3

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

Source distribution (sdist)

Source distribution for matplotsave 0.1.3
File Size Uploaded Provenance Actions
matplotsave-0.1.3.tar.gz 1.9 kB Without provenance Details for matplotsave-0.1.3.tar.gz

Release files / matplotsave-0.1.3.tar.gz

Download URL matplotsave-0.1.3.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
955cd26962f85a20ebcd90b4a5d497f65383b28f918b092d118aee56c5006aba
BLAKE2b-256 checksum
How to use checksums
f4000e69f1601853cc4a972d75b6684b95ac618c1ae31dc266a8419a3844a0d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for matplotsave 0.1.3

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