Fig1_page.pdf
Tavotto for Matplotlib
Edit figures visually. Keep scripts untouched.
Whether drawn by AI or by hand, Tavotto gets your research figure publication-ready: titles, legends, curves and layout adjust on the canvas while your script stays untouched.
What you see is the actual printed size.
Choose a desktop version
Click anything to adjust it.
Understands every object in your figure
Tavotto parses figures as structured matplotlib objects, not flat pixels. Every title, tick label, axis and curve can be selected on its own.
-
axes_0.titleTitle -
axes_0.xlabelAxis label -
axes_0.ylabelAxis label -
axes_0.lines_0Line -
axes_0.lines_1Line -
axes_0.legendLegend -
axes_0.xticksTick set -
axes_0.yticksTick set
Fine-tune on the canvas
Adjust font sizes, line weights, stroke styles, or positioning on the fly. Matplotlib re-renders the underlying figure instantly.
Try it on a sample, or your own .py. axes_0.title Title
fontsize
9.0 → 12.0 pt
Edits saved separately; script untouched
Every adjustment is recorded as an override; your Python file is never modified. Re-run the script with new data and your edits reapply automatically.
restoring 1 edit identical
fig1_kinetics.py
-
"""示例 1:两条动力学曲线 + 图例(最典型的可参数化面板)。 -
-
在 Tavotto 里双击这张图,可以直接点中标题、坐标轴标签、图例、任意一条曲线, -
改字号/颜色/线宽或拖动位置——改动存成 override,本文件一个字都不会被动。 -
""" -
import numpy as np -
-
import matplotlib.pyplot as plt -
from paper_style import COL_1, PALETTE, save -
-
-
def main(): -
t = np.linspace(0, 60, 200) -
fast = 1 - np.exp(-t / 8) -
slow = 1 - np.exp(-t / 24) -
-
fig, ax = plt.subplots(figsize=(COL_1, COL_1 * 0.72)) -
ax.plot(t, fast, color=PALETTE[0], lw=1.2, label="Catalyst (k = 0.125 $\\mathrm{min^{-1}}$)") -
ax.plot(t, slow, color=PALETTE[1], lw=1.2, ls="--", label="Blank (k = 0.042 $\\mathrm{min^{-1}}$)") -
ax.set_xlabel("Reaction time (min)") -
ax.set_ylabel("Conversion") -
ax.set_title("Reaction kinetics") -
ax.set_xlim(0, 60) -
ax.set_ylim(0, 1.05) -
ax.legend(loc="lower right") -
save(fig, "Fig1_kinetics") -
-
-
if __name__ == "__main__": -
main()
fig1-overrides.json
{ "index": 0, "patch": { "gid": "axes_0.title", "prop": "fontsize", "value": 12.0 }, "hash_after": "sha256:56591382a70626624a8df4ae9a5a17a9358e0844f65a030f2bd0d36ee6905bb9", "warnings": [], "moved_gids": [ "axes_0.title" ], "bbox_after": { "axes_0.title": [ 0.32596875, 0.03180555555555542, 0.37306249999999996, 0.06730855305989585 ] }}
Millimetre-accurate multi-panel layout
Panels (a) through (d) share one millimetre grid, 150 × 112.5 mm. Scale a panel and its type scales with it.
150 × 112.5 mm
- (a)
Fig1_kinetics.pdf80 × 60 mm 0.9000 - (b)
Fig2_correlation.pdf74 × 60 mm 0.9000 - (c)
Fig3_residuals.pdf80 × 60 mm 0.9000 - (d)
Fig2_yield.pdf74 × 60 mm 0.9000
Journal checks before export
Type sizes, stroke weights and layout are checked against journal rules before export.
lab-publication-v1 1.0.0
- error cleared (a) (b) (c) (d) Figure text at an effective 8.10pt is below the profile's 8.5pt
- error cleared (a) (b) (c) (d) Figure text at an effective 7.20pt is not above the absolute floor of 8pt
- warn cleared (a) (b) (c) (d) The effective line width 0.54pt is not one of the profile's steps (0.5/0.75/1/1.5pt)
- suggestion cleared (a) (b) (c) (d) The axis title “Conversion” is not in the profile's “Title (unit)” form
- warn cleared (a) (b) The legend's effective font size 7.20pt is outside the profile's 8.5–9pt
- suggestion cleared (a) All 2 lines are drawn without markers, which is hard to tell apart in black-and-white print or for colorblind readers — consider markers or distinct line styles
- suggestion cleared (b) There is a fitted curve but no confidence band — submissions usually require the uncertainty of the fit
error 2 · warn 2 · not_verifiable 0 · suggestion 3 · blocking true error 0 · warn 1 · not_verifiable 0 · suggestion 3 · blocking false
- 1 raised 24 → 9.5 pt blocking false
Vector and raster from one source
The PDF keeps real, selectable text, formulas included. The PNG is rasterised from that same PDF, so the two formats show the same figure.
-
Fig1_page.pdf150 × 112.5 mm · 425.2 × 318.9 pt 378 characters of real text · 131.6 KB -
Fig1_page.png3544 × 2658 px · 600 dpi 380.9 KB -
Fig1_page_proof.jsonlab-publication-v1 1.0.0 error 2 · warn 2 · not_verifiable 0 · suggestion 3 · blocking true
Product overview video
Edit figures visually. Keep scripts untouched.
Choose a desktop version
Open source under AGPL-3.0. The figures and PDFs you produce are entirely your own.
Interested in a future Pro version?
Tavotto is completely free and open source—download and use it without signing up or sharing an email. We are exploring a more capable professional tier for the future, though specific features, pricing, and timing remain under consideration. If you'd like to be notified when there is meaningful progress, leave your email below. We'll send an update only when there is concrete news—zero spam, guaranteed.
One-time milestone update only. Zero spam.