Metadata-Version: 2.5
Name: cellpy-figure
Version: 0.1.0
Summary: A portable figure bundle: the plotted table plus its encodings, drawn with matplotlib or Plotly.
Project-URL: Homepage, https://github.com/cellpy/cellpy-figure
Project-URL: Repository, https://github.com/cellpy/cellpy-figure
Project-URL: Issues, https://github.com/cellpy/cellpy-figure/issues
Author-email: jepegit <jepe@ife.no>
License-Expression: MIT
License-File: LICENSE
Keywords: battery,cellpy,figure,matplotlib,plotly
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Visualization
Requires-Python: >=3.13
Requires-Dist: pandas>=2.2.3
Requires-Dist: pyarrow>=16
Provides-Extra: mpl
Requires-Dist: matplotlib>=3.11.2; extra == 'mpl'
Provides-Extra: plotly
Requires-Dist: plotly>=7.1.0; extra == 'plotly'
Description-Content-Type: text/markdown

# cellpy-figure

A figure file (`.cfz`) that holds the plotted table and the choices that drew
it, so a coauthor can redraw it with matplotlib or Plotly without installing
cellpy.

```bash
pip install "cellpy-figure[mpl]"
```

```python
import cellpy_figure

figure = cellpy_figure.open_figure("figure.cfz")
drawn = figure.to_matplotlib(preset="notebook")
drawn.savefig("figure.pdf")
```

The design, the file format, and what cellpy and cellpy-simple-gui are
expected to do are in [PLAN.md](PLAN.md). Reading and writing a `.cfz` file
works. ``to_matplotlib`` and ``to_plotly`` draw one panel, or one facet
row. The format-version 1 JSON Schema ships in the package. The publish
workflow is in the repository. The first upload waits on the pending
publisher. Several panel entries are not implemented yet.
