Direct-manipulation figure editor for matplotlib — edit, annotate, zoom-inset, beautify, export.
Project description
figmint
Direct-manipulation figure editor for matplotlib. Open any matplotlib figure in a real GUI, click to select elements, edit their properties, drag text around, and export a PNG/PDF/SVG or a clean standalone matplotlib script. figmint never edits your source file.
import matplotlib.pyplot as plt
from figmint import edit
fig, ax = plt.subplots()
ax.plot([1, 2, 3], [1, 4, 9], marker="o", label="data")
ax.legend()
edit(fig) # opens the editor — blocks in scripts, non-blocking in Jupyter
Status: early release (v0.1.0). The core editor works today (see "Available now"). The flagship tools — inset-zoom, subplot layout, and one-click Beautify — are on the near-term roadmap. Full design lives in
IMPLEMENTATION_SPEC.md.
Available now (v0.1.0)
- Click-to-select any element (lines, text, title, labels, legend) with a highlight.
- Property panel — edit text (content, font size, color) and lines (width, style, marker, marker size, color); every change is undoable.
- Drag text annotations; delete elements; full undo/redo.
- Export — PNG/PDF/SVG at any DPI, a standalone matplotlib
.pyscript, and a reloadable.figmintproject file. - Non-intrusive — your source file is never modified.
- Works in scripts and Jupyter; dark/light theme; high-DPI aware.
On the roadmap
- Inset-zoom tool — drag a region, get a magnified inset with connector lines.
- Visual subplot/layout editing — add, remove, rearrange panels; tune spacing.
- One-click Beautify — curated publication presets, tight layout, font harmonizing.
- Annotation tools (arrows, shapes, LaTeX), richer legend/axes editing.
Install
pip install figmint
# or from source:
git clone https://github.com/wsiyal/figmint
cd figmint
pip install -e ".[dev]"
Documentation
Full docs: https://wsiyal.github.io/figmint (built from docs/).
Development
pip install -e ".[dev]"
ruff check . # lint
ruff format . # format
mypy figmint # type-check
pytest # tests
See CONTRIBUTING.md.
License
MIT. figmint dynamically imports PySide6 (LGPL) and matplotlib (BSD-style); those remain under their own licenses.
Project details
Release history Release notifications | RSS feed
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 figmint-0.1.0.tar.gz.
File metadata
- Download URL: figmint-0.1.0.tar.gz
- Upload date:
- Size: 35.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94ce12f00408b7a37693ec7d89c95f1c33db8e28b944fd9527cd7f5ff7e36750
|
|
| MD5 |
95e8960693cd09d1fcfe2e69ce490ec7
|
|
| BLAKE2b-256 |
bf4b28b06c133db7c11ce9cdc291c5b7ee0127ce8b401cf9f939d55fcfc3ca5d
|
Provenance
The following attestation bundles were made for figmint-0.1.0.tar.gz:
Publisher:
release.yml on wsiyal/figmint
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
figmint-0.1.0.tar.gz -
Subject digest:
94ce12f00408b7a37693ec7d89c95f1c33db8e28b944fd9527cd7f5ff7e36750 - Sigstore transparency entry: 2176101330
- Sigstore integration time:
-
Permalink:
wsiyal/figmint@079145d3f295e40b0f6673f96445bbfd445d4970 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/wsiyal
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@079145d3f295e40b0f6673f96445bbfd445d4970 -
Trigger Event:
push
-
Statement type:
File details
Details for the file figmint-0.1.0-py3-none-any.whl.
File metadata
- Download URL: figmint-0.1.0-py3-none-any.whl
- Upload date:
- Size: 22.7 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 |
a8ba0d73c07657f8b8fbbb85f7efb5e09012b39139e63d4f5af5200504b07acf
|
|
| MD5 |
1ed7f2e7188af89d811a077d8f8cc7f1
|
|
| BLAKE2b-256 |
1bfbc1c3d545006b100f30c4003dfb6e70e6dcee6459fd18a47585bd91589561
|
Provenance
The following attestation bundles were made for figmint-0.1.0-py3-none-any.whl:
Publisher:
release.yml on wsiyal/figmint
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
figmint-0.1.0-py3-none-any.whl -
Subject digest:
a8ba0d73c07657f8b8fbbb85f7efb5e09012b39139e63d4f5af5200504b07acf - Sigstore transparency entry: 2176101393
- Sigstore integration time:
-
Permalink:
wsiyal/figmint@079145d3f295e40b0f6673f96445bbfd445d4970 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/wsiyal
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@079145d3f295e40b0f6673f96445bbfd445d4970 -
Trigger Event:
push
-
Statement type: