Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

An easy method to save code and data that generates scientific plots.

Project description


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

def plot(x, y, title):

plot([1,2,3], [1,2,3])

To re-generate your plot:

import plotarchive


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for plotarchive, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size plotarchive-0.0.6-py3-none-any.whl (4.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size plotarchive-0.0.6.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page