Skip to main content

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)

Source distribution for plotarchive 0.0.3
File Size Uploaded
plotarchive-0.0.3.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for plotarchive 0.0.3
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

0.0.9

8 release files

0.0.5

2 release files

This release

0.0.3 This release

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