"""
driedfigs: Make your matplotlib figures reproducible.

driedfigs preserves the data passed to matplotlib plotting functions,
making it easy to share your figure data alongside publications for
complete reproducibility.

Basic usage:
    >>> import driedfigs as df
    >>> import matplotlib.pyplot as plt
    >>>
    >>> # Start capturing data for a figure
    >>> fig_data = df.start_figure("my_figure")
    >>>
    >>> # Make plots with the 'name' parameter to capture data
    >>> plt.plot([1, 2, 3], [4, 5, 6], name="my_plot")
    >>> plt.scatter([1.5, 2.5], [4.5, 5.5], name="my_scatter")
    >>>
    >>> # Save the data
    >>> df.save_figuredata("./data/my_figure.pkl")
"""

__version__ = "0.1.0"

from .core import (
    start_figure,
    save_figuredata,
    FigureData,
)

__all__ = [
    "start_figure",
    "save_figuredata",
    "FigureData",
]
