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, 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 科研制图工作流
API consumers API Reference API 参考
Contributors Developer Guide 开发者指南
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.3.1.tar.gz (314.1 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.3.1-py3-none-any.whl (245.2 kB view details)

Uploaded Python 3

File details

Details for the file figstudio-0.3.1.tar.gz.

File metadata

  • Download URL: figstudio-0.3.1.tar.gz
  • Upload date:
  • Size: 314.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for figstudio-0.3.1.tar.gz
Algorithm Hash digest
SHA256 00cc5a957053747e3a01df1b1d56acf252c09600c465875c55b2011a8c98ec51
MD5 37e0b72ddd3b7bb937e0ad9677ac8afc
BLAKE2b-256 767c6fbf1cbc4f8945ddcc259c131cd8a54b99094bbad3d8f63e7fac992409fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for figstudio-0.3.1.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.3.1-py3-none-any.whl.

File metadata

  • Download URL: figstudio-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 245.2 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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c3c51c978c540e65a90d8a5af1e517483f006a0c26d3392f76d68ae1f64878d9
MD5 cb2c898a6ea8b35ed3769d6651a43fa0
BLAKE2b-256 c492cd6904db438e2f946338661a7366633bb4d0421dc8a14784e71db6cecedb

See more details on using hashes here.

Provenance

The following attestation bundles were made for figstudio-0.3.1-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