matplotlib-extract
This package is useful to create dynamic presentations where elements of a plot appear one by one. To do so, the elements are exported to seperate files.
Install with
pip install matplotlib-extract
Usage
import matplotlib.pyplot as plt
from matplotlib_extract import extract_elements
import numpy as np
x = np.linspace(0, 2*np.pi)
y1 = 2*x
y2 = 6 + 2*np.sin(x)
plt.plot(x, y1, label="line1")
plt.plot(x, y2, label="line2")
plt.legend()
extract_elements()
plt.show()
Running this script will create files for the lines, the axis and the legend.
Metadata
Release files for matplotlib-extract 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| matplotlib_extract-0.1.2.tar.gz | 8.5 kB | Without provenance | Details for matplotlib_extract-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| matplotlib_extract-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for matplotlib_extract-0.1.2-py3-none-any.whl |
Total release size: 16.1 kB
Release files / matplotlib_extract-0.1.2.tar.gz
| Download URL | matplotlib_extract-0.1.2.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe6ac8b7315c89a76016417d7a5ac524d791199e5029a34a932a2fc24c1ffcd0
|
|
BLAKE2b-256 checksum How to use checksums |
3e92bf02648220a3397daa8ccd5d1b0e23d53f476494028d073ad598c8d813a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Release files / matplotlib_extract-0.1.2-py3-none-any.whl
| Download URL | matplotlib_extract-0.1.2-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
839584ec677197817bd315c182bd663746e17746d9beb554b7036c8608670a7b
|
|
BLAKE2b-256 checksum How to use checksums |
64c2e814bab516ad99300787f9b22232505b6e198bfd1c05760472f8ca14919e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Security for matplotlib-extract 0.1.2
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.