Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Figurestead

Experimental scientific figures for Python: line, scatter, histogram, strip-summary and heatmap figures with explicit labels and themes.

Python 0.9.0a7

Requires Python >=3.10, Matplotlib >=3.7, NumPy >=1.24 and Pillow >=10. Preparation candidate: the command below is for this version after publication. For the currently published release, use Python 0.9.0a6. To review now, install the exact retained candidate wheel or sdist. In a fresh virtual environment:

python -m pip install figurestead==0.9.0a7
from figurestead import PlotSpec, line, save_figure

figure, axes = line(
    [0, 1, 2], [[0, 1, 0]],
    theme="lavender_fog_notebook",
    spec=PlotSpec(title="Synthetic response", xlabel="Time (s)",
                  ylabel="Response (a.u.)", note="Synthetic example; not measurements."),
)
save_figure(figure, "response.png", dpi=150)
save_figure(figure, "response.svg")

The destination directory must exist. save_figure stages and replaces a single output file only after a successful save. Rendering errors propagate and leave an existing destination unchanged. For streams or intentionally external SVG images, use Matplotlib's figure.savefig and manage those outputs directly.

Carried forward from a5: measured note and sample-count placement, warnings when explicit histogram edges exclude observations, and optional signatures fitted only where there is measured spare space. Callers supplying axes own their margins; an insufficient source-note footer raises sizing guidance. See the frozen layout and export contract for the behavior incorporated into this version.

Numeric NaN/infinity category identities reject before string coercion; literal string labels remain valid. Appended labeled lines retain truthful accumulated legends; anonymous scatter/strip layers do not acquire scientific labels.

New in published a6: opt-in monotone interpolation preserves each interval's endpoint bounds; ordinary line drawing limits marker-protection work to nearby candidates while preserving marker interiors and continuous authored rhythm. The categorical-matrix extension measures all required decorations, including rotated labels and the status legend after native colorbar removal. Insufficient space raises sizing guidance rather than silently exporting clipped content. These repairs do not change observations, normalization, palette values or the bounded line-identity profile. Performance gains depend on geometry and density. The auxiliary compile_terminal_scene rejects unsupported contracts rather than silently claiming fidelity; it remains finite-only and is not NaN-gap transport.

New in the a7 candidate: Figurestead-authored legend labels that begin with an underscore, including literal _nolegend_, stay eligible for ordinary legends and direct-label fallback. Caller-owned Matplotlib artists keep Matplotlib's own underscore rules. Ordinary heatmap() turns profile gridlines off after axis styling so those lines do not cross cell centers. line() still draws its profile grid. Colormap, normalization, tick locators and the colorbar are unchanged. These repairs do not add observations, a new scale, or a browser heatmap.

Inspect exports at their intended size. Shared Python/browser semantics do not imply identical pixels or matching renderer coverage. Reference themes have a bounded three-series line designation, not universal accessibility or physical print qualification.

Line behavior and limits · Source · Issue tracker

MIT licensed.

Metadata

Release files for figurestead 0.9.0a7

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

Source distribution (sdist)

Source distribution for figurestead 0.9.0a7
File Size Uploaded Provenance Actions
figurestead-0.9.0a7.tar.gz 483.8 kB With provenance Details for figurestead-0.9.0a7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for figurestead 0.9.0a7
File Interpreter ABI Platform Actions
figurestead-0.9.0a7-py3-none-any.whl Python 3 none any Details for figurestead-0.9.0a7-py3-none-any.whl

Total release size: 591.1 kB

Release files / figurestead-0.9.0a7.tar.gz

Download URL figurestead-0.9.0a7.tar.gz
Size 483.8 kB
Tags Source
SHA-256 checksum
How to use checksums
07c46905e271d5feae39a151c773437c6d9d8aacef633320994b66193866e1d5
BLAKE2b-256 checksum
How to use checksums
273547ffc52cfef606b7489f0e2316c1796ee9fad555e95401f7e2abe2e3cf60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / figurestead-0.9.0a7-py3-none-any.whl

Download URL figurestead-0.9.0a7-py3-none-any.whl
Size 107.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
469691b5fd6ea617c9ad99fcb1824de24200ec2adc3f6868304bbae8ea548229
BLAKE2b-256 checksum
How to use checksums
8420438cf27e97eb92f1bc1dedccc4f9cfeceecaa7516f8dbba1298f354e429a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Security for figurestead 0.9.0a7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for figurestead-0.9.0a7.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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