A local figure-workflow tool for reproducible, publication-ready Matplotlib panels.
Project description
FigStudio
FigStudio is a local-first figure workflow for scientific Python users who want to turn data already present in a script or notebook into polished, reproducible Matplotlib panels.
It opens a browser editor from your Python process, lets you map live variables to plot layers or statistics recipes, create faceted DataFrame panels, add reference lines and annotations, previews through Matplotlib, exports publication files, and saves plain Matplotlib OO code back to a controlled script block or notebook cell.
Install
pip install figstudio
The wheel includes the React editor. End users do not need Node, npm, Vite, or the frontend source tree after installation.
Try It
figstudio demo
For a script, add FigStudio after data preparation and give generated plotting code one controlled block:
import figstudio
# Prepare data first.
session = figstudio.open(locals(), script_path=__file__, block_id="main")
# figstudio:start main
# figstudio:end main
In the editor, choose a live variable, add a plot layer or statistics recipe, polish the figure, export PNG/SVG/PDF, then click Save code.
Documentation
| Language | Start here |
|---|---|
| English | docs/en/index.md |
| Chinese / 中文 | docs/zh/index.md |
Common entry points:
| Reader | English | 中文 |
|---|---|---|
| Figure users | Get Started | 快速开始 |
| Scientific workflows | Workflows | 科研制图工作流 |
| Example gallery | Gallery | Gallery |
| API consumers | API Reference | API 参考 |
| Contributors | Developer Guide | 开发者指南 |
| Product scope | PRD | 产品需求 |
| Roadmap overview | Roadmap | 路线图 |
| Roadmap strategy | Strategy | 路线图策略 |
| Roadmap initiatives | Initiatives | 路线图 Initiatives |
| Deferred roadmap items | Deferred Work | 暂缓事项 |
| Release history | Release Notes / CHANGELOG | 发布说明 / CHANGELOG |
Development
uv run --extra dev pytest
cd frontend
npm install
npm run build
npm run dev
Build a publishable package:
uv build
The build hook bundles the frontend into the Python wheel. Runtime installs from a built wheel still use the packaged editor and do not require frontend tooling.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file figstudio-0.4.0.tar.gz.
File metadata
- Download URL: figstudio-0.4.0.tar.gz
- Upload date:
- Size: 532.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f31eefc52bef2a77381b0994f72b9811e5cc3882bb1700f391d4629bd58339f5
|
|
| MD5 |
9921bc92c599cf48b03bfcd65d69e167
|
|
| BLAKE2b-256 |
3abc31a95da910abc66f16f41b483180594ae274a71bd9e03bdf5e7fd2aaa4c9
|
Provenance
The following attestation bundles were made for figstudio-0.4.0.tar.gz:
Publisher:
publish-pypi.yml on Isabelle20070607/figstudio
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
figstudio-0.4.0.tar.gz -
Subject digest:
f31eefc52bef2a77381b0994f72b9811e5cc3882bb1700f391d4629bd58339f5 - Sigstore transparency entry: 2008242035
- Sigstore integration time:
-
Permalink:
Isabelle20070607/figstudio@abbb1851c4b35dcaad1520a65501ee9771c87658 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/Isabelle20070607
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@abbb1851c4b35dcaad1520a65501ee9771c87658 -
Trigger Event:
push
-
Statement type:
File details
Details for the file figstudio-0.4.0-py3-none-any.whl.
File metadata
- Download URL: figstudio-0.4.0-py3-none-any.whl
- Upload date:
- Size: 267.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3b7dee0249439c0a0b40e71bd5a2f5468b4d48a6ba553751469d689d5198f44
|
|
| MD5 |
829cdf116b2b60bb670262b864ed350d
|
|
| BLAKE2b-256 |
a6b861450fd528a8bc7c85a2003c01b701e91d5afdf956d5a6ceea33d69210ce
|
Provenance
The following attestation bundles were made for figstudio-0.4.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on Isabelle20070607/figstudio
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
figstudio-0.4.0-py3-none-any.whl -
Subject digest:
d3b7dee0249439c0a0b40e71bd5a2f5468b4d48a6ba553751469d689d5198f44 - Sigstore transparency entry: 2008242312
- Sigstore integration time:
-
Permalink:
Isabelle20070607/figstudio@abbb1851c4b35dcaad1520a65501ee9771c87658 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/Isabelle20070607
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@abbb1851c4b35dcaad1520a65501ee9771c87658 -
Trigger Event:
push
-
Statement type: