nschloe/tikzplotlib
:bar_chart: Save matplotlib figures as TikZ/PGFplots for smooth integration into LaTeX. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 6075
- days_rel: n/a
- days_push: 747
- n_releases_24m: 0
Adoption not part of the score
2580 stars · 248 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Python library that converts matplotlib figures into TikZ/PGFPlots code for native inclusion in LaTeX or ConTeXt documents. It preserves axes and data information so the resulting plots remain editable within TeX.
Use cases
- export matplotlib plots as tikz code for latex papers
- convert python figures to pgfplots
- make publication-quality figures in latex from matplotlib
- edit matplotlib charts inside latex documents
- include python-generated plots in a thesis
- get vector tikz output instead of pdf images
When to choose
- you write documents in LaTeX and want plots that match the document fonts and are editable
- you need semantic PGFPlots output rather than raw TikZ paths or raster images
- your workflow is matplotlib-based and you want a one-call figure export
When to avoid
- you need interactive or web-based plotting
- your figures use matplotlib features that tikzplotlib cannot translate and you don't want to fix them up
- you target HTML or Markdown output rather than TeX
- you need a project under heavy active development
Facets
library · maturity maintenance
data-visualization graphics data-visualization documentation developer-tools python cross-platform matplotlib tikz pgfplots latex figure-export
2 sources
- readme: https://github.com/nschloe/tikzplotlib · fetched 2026-08-28 · 1f4c682b4e2f
- registry_pypi: https://pypi.org/pypi/tikzplotlib/json · fetched 2026-08-29 · 46e7320ab762
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nschloe/tikzplotlib | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="nschloe/tikzplotlib")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem