Skip to main content

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

figstudio-0.4.0.tar.gz (532.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

figstudio-0.4.0-py3-none-any.whl (267.5 kB view details)

Uploaded Python 3

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

Hashes for figstudio-0.4.0.tar.gz
Algorithm Hash digest
SHA256 f31eefc52bef2a77381b0994f72b9811e5cc3882bb1700f391d4629bd58339f5
MD5 9921bc92c599cf48b03bfcd65d69e167
BLAKE2b-256 3abc31a95da910abc66f16f41b483180594ae274a71bd9e03bdf5e7fd2aaa4c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for figstudio-0.4.0.tar.gz:

Publisher: publish-pypi.yml on Isabelle20070607/figstudio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for figstudio-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d3b7dee0249439c0a0b40e71bd5a2f5468b4d48a6ba553751469d689d5198f44
MD5 829cdf116b2b60bb670262b864ed350d
BLAKE2b-256 a6b861450fd528a8bc7c85a2003c01b701e91d5afdf956d5a6ceea33d69210ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for figstudio-0.4.0-py3-none-any.whl:

Publisher: publish-pypi.yml on Isabelle20070607/figstudio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page