plotarchive v0.0.2
Plotarchive is a simple package which aims to assist plotters remeber what code created which figure. We aim to eliminate the problem where the code you used to make a figure is lost or deleted. Plotarchive serialises the data used to make the figure, along with the generating function, and the entire code of the project.
To save your plot, wrap it in a function and apply the plotarchive.archive decorator. Plotarchive will save all the necessary information to recreate your plot.
import plotarchive
import matplotlib.pyplot as plt
@plotarchive.archive(file='myplot.pa')
def plot(x, y, title):
plt.figure()
plt.plot(x,y)
plt.title(title)
plt.show()
plot([1,2,3], [1,2,3])
To re-generate your plot:
import plotarchive
plotarchive.extract('myplot.pa')
Metadata
Release files for plotarchive 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| plotarchive-0.0.3.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| plotarchive-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.3 kB
Release files / plotarchive-0.0.3.tar.gz
| Download URL | plotarchive-0.0.3.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
86a0172e0a76ac0dc2aaa38380381544f5e967003619e6ef0154caa5bf26bab3
|
|
BLAKE2b-256 checksum How to use checksums |
d6d346bd9e4576677171269c8c4cac5d0e0e5d74195930863d1090269785643a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.4.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
|
Release files / plotarchive-0.0.3-py3-none-any.whl
| Download URL | plotarchive-0.0.3-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
51a368a2a7520913564f8c45b3fd5f0bd83a761ba16eba3f197084e00d96fef1
|
|
BLAKE2b-256 checksum How to use checksums |
a9c73adaa40fd51dd766ba6ffee2996447149098fcb898ed75edca2a504e70f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.4.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
|