Skip to content
0 10 20 30 40 50 60 Reaction time (min) 0.0 0.2 0.4 0.6 0.8 1.0 Conversion Reaction kinetics C a t a l y s t   ( k   =   0 . 1 2 5   ) m i n − 1 B l a n k   ( k   =   0 . 0 4 2   ) m i n − 1

Fig1_page.pdf

80 × 57.6 mm

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.

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.title Title
  • axes_0.xlabel Axis label
  • axes_0.ylabel Axis label
  • axes_0.lines_0 Line
  • axes_0.lines_1 Line
  • axes_0.legend Legend
  • axes_0.xticks Tick set
  • axes_0.yticks Tick 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. """示例 1:两条动力学曲线 + 图例(最典型的可参数化面板)。
  2. 在 Tavotto 里双击这张图,可以直接点中标题、坐标轴标签、图例、任意一条曲线,
  3. 改字号/颜色/线宽或拖动位置——改动存成 override,本文件一个字都不会被动。
  4. """
  5. import numpy as np
  6. import matplotlib.pyplot as plt
  7. from paper_style import COL_1, PALETTE, save
  8. def main():
  9. t = np.linspace(0, 60, 200)
  10. fast = 1 - np.exp(-t / 8)
  11. slow = 1 - np.exp(-t / 24)
  12. fig, ax = plt.subplots(figsize=(COL_1, COL_1 * 0.72))
  13. ax.plot(t, fast, color=PALETTE[0], lw=1.2, label="Catalyst (k = 0.125 $\\mathrm{min^{-1}}$)")
  14. ax.plot(t, slow, color=PALETTE[1], lw=1.2, ls="--", label="Blank (k = 0.042 $\\mathrm{min^{-1}}$)")
  15. ax.set_xlabel("Reaction time (min)")
  16. ax.set_ylabel("Conversion")
  17. ax.set_title("Reaction kinetics")
  18. ax.set_xlim(0, 60)
  19. ax.set_ylim(0, 1.05)
  20. ax.legend(loc="lower right")
  21. save(fig, "Fig1_kinetics")
  22. if __name__ == "__main__":
  23. 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.

The composed page layout, 150 by 112.5 millimetres, arranging four equal panels in two rows: (a) reaction kinetics, (b) linear fit scatter plot, (c) fit residuals, and (d) sample yield bar chart with error bars.
150 × 112.5 mm

150 × 112.5 mm

  • (a) Fig1_kinetics.pdf 80 × 60 mm 0.9000
  • (b) Fig2_correlation.pdf 74 × 60 mm 0.9000
  • (c) Fig3_residuals.pdf 80 × 60 mm 0.9000
  • (d) Fig2_yield.pdf 74 × 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. 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.pdf 150 × 112.5 mm · 425.2 × 318.9 pt 378 characters of real text · 131.6 KB
  • Fig1_page.png 3544 × 2658 px · 600 dpi 380.9 KB
  • Fig1_page_proof.json lab-publication-v1 1.0.0 error 2 · warn 2 · not_verifiable 0 · suggestion 3 · blocking true

Product overview video 33 s · With audio

Edit figures visually. Keep scripts untouched.

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.

Support Tavotto