Skip to main content

plotarchive

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.9

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

Built distributions (wheels)

Table of built distributions (wheels) for plotarchive 0.0.9
File
plotarchive-0.0.9-cp311-cp311-musllinux_1_1_x86_64.whl CPython 3.11 CPython 3.11 Linux musl 1.1+ x86-64 Details
plotarchive-0.0.9-cp311-cp311-musllinux_1_1_i686.whl CPython 3.11 CPython 3.11 Linux musl 1.1+ x86-32 Details
plotarchive-0.0.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
plotarchive-0.0.9-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-32, Linux glibc 2.5+ x86-32 Details
plotarchive-0.0.9-cp310-cp310-musllinux_1_1_x86_64.whl CPython 3.10 CPython 3.10 Linux musl 1.1+ x86-64 Details
plotarchive-0.0.9-cp310-cp310-musllinux_1_1_i686.whl CPython 3.10 CPython 3.10 Linux musl 1.1+ x86-32 Details
plotarchive-0.0.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
plotarchive-0.0.9-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl CPython 3.10 CPython 3.10 Linux glibc 2.5+ x86-32, Linux glibc 2.17+ x86-32 Details

Total release size: 3.0 MB

Release files / plotarchive-0.0.9-cp311-cp311-musllinux_1_1_x86_64.whl

Download URL plotarchive-0.0.9-cp311-cp311-musllinux_1_1_x86_64.whl
Size 399.0 kB
Tags CPython 3.11 Linux musl 1.1+ x86-64
SHA-256 checksum
How to use checksums
ea065a3f0e544be84a86e6710d4c9ee58fe135ccd53b01ac6e6185ba05b1ff20
BLAKE2b-256 checksum
How to use checksums
112332bda7740f855a3dfc1f745b7805d003e5873195e23c5e702927f6aa5292
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.7

Release files / plotarchive-0.0.9-cp311-cp311-musllinux_1_1_i686.whl

Download URL plotarchive-0.0.9-cp311-cp311-musllinux_1_1_i686.whl
Size 384.2 kB
Tags CPython 3.11 Linux musl 1.1+ x86-32
SHA-256 checksum
How to use checksums
9ad5252129d800c49fc05ff987ea92c8d4df29824257400cd282ee0cfa4f34da
BLAKE2b-256 checksum
How to use checksums
8bae0507ff538e31a51dae1a285560ceef41a03dcfe5c52f7ae8e21b33b9402b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.7

Release files / plotarchive-0.0.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL plotarchive-0.0.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 385.2 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
91d68bb98aa13e03ce65a142d2dd8ba0591a79e607cf16d3b824abd8444e52ad
BLAKE2b-256 checksum
How to use checksums
237b6685ec83df3da26d48088849e2738f750f94afc6c04931f5524cd157c6eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.7

Release files / plotarchive-0.0.9-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl

Download URL plotarchive-0.0.9-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Size 366.2 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-32 Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
c2c33eb6eacb2b1c6b52ab6500252fe10c41eea6918443dfbf4d2011085034f6
BLAKE2b-256 checksum
How to use checksums
9550514ec333d10964a3cdd31d4569ff5531d5208084e48c3704ed267cbefc3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.7

Release files / plotarchive-0.0.9-cp310-cp310-musllinux_1_1_x86_64.whl

Download URL plotarchive-0.0.9-cp310-cp310-musllinux_1_1_x86_64.whl
Size 375.4 kB
Tags CPython 3.10 Linux musl 1.1+ x86-64
SHA-256 checksum
How to use checksums
f98564c9117cff96eff9afe667a5cb293583f3efd3fbfa13aab4f6cc9f85468d
BLAKE2b-256 checksum
How to use checksums
23eefc9c4280a7d74a3b6df130343c845400a56bd331d445b50356886c6e9ffc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.7

Release files / plotarchive-0.0.9-cp310-cp310-musllinux_1_1_i686.whl

Download URL plotarchive-0.0.9-cp310-cp310-musllinux_1_1_i686.whl
Size 360.0 kB
Tags CPython 3.10 Linux musl 1.1+ x86-32
SHA-256 checksum
How to use checksums
21e3273ec63417106d96abe03f63930d27616e00757b4afc18faa09ab4c63808
BLAKE2b-256 checksum
How to use checksums
54ecc07a30ffbc21f4f56c74d8f1eb5abe360c5ca99a6cdc61d52278db987008
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.7

Release files / plotarchive-0.0.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL plotarchive-0.0.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 359.0 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
6d4bf5ea2d689036c87ca314c5232166c6434891fcfee19afe40e1315ba71fab
BLAKE2b-256 checksum
How to use checksums
f2f5051da579f4769a6ebfd244543b13b3a360a33c25e3f9c8154a5269c4853e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.7

Release files / plotarchive-0.0.9-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl

Download URL plotarchive-0.0.9-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Size 341.6 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-32 Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
b1f14d07ebb361ffba9055e530519646f6bff3b2a17e7160e5d09d0e41ee5b01
BLAKE2b-256 checksum
How to use checksums
4350c7dab02a74a21a1080988f8de4c222b59b0e35e01baedbb2138cc45ce657
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.0.9 This release

8 release files

0.0.5

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

1 release file

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