Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

mintfig

Latest version: v0.3.3

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
PyPI package Publisher: bblaiszik
0 Stars
0 Forks
2 Versions
95 Downloads
Python Repo language

Scan summary

mintfig was last scanned on 28 Nov 2026 at version 0.3.3. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published within 4 days (25–28 Nov 2026).
  • Findings: No rules fired in version 0.3.3.
  • Downloads: 95 downloads.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.3 LATEST 28 Nov 2026 No rules fired
0.2.0 25 Nov 2026 No rules fired

No rules fired in 0.3.3

Findings

Findings for v0.3.3. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.3.3; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

mintfig

Give your coding agent visual taste — and a fact-checker.

Working with Claude Code, Codex, Cursor, or Antigravity shouldn't end in numbers buried in prose or a cramped default Matplotlib chart with tiny text, truncated axes, and unnamed error bars. mintfig turns your coding agent into a visual briefing loop: agents produce clear, publication-grade graphics whose headlines are verified against the plotted data — and automatically audit any Matplotlib they already write.

Watch an agent's wall of 32 numbers turn into inline mintchip sparklines & intervals, a forest-plot table, and an interactive mintfig figure you can hover and click to cite back:

Wall of 32 agent numbers transformed into mintchip inline chips, a forest-plot table, and an interactive mintfig figure

  1. Agent text-only:

    I ran the ablation with five variants and five seeds each. The full model reaches 0.82 test accuracy (95% CI 0.80–0.84). Removing augmentation gives 0.80 (0.78–0.82) and a smaller encoder 0.78 (0.75–0.81), both within seed noise of the full model. Removing retrieval drops accuracy to 0.74 (0.71–0.77), a loss of 8 points, and removing fine-tuning drops it to 0.69 (0.66–0.72), a loss of 13 points; neither interval overlaps the full model's. On the validation curves the three main variants start together, but by step 500 the full model is at 0.66, no retrieval at 0.60 and no fine-tuning at 0.48, and the order holds through step 2,000, where they end at 0.82, 0.74 and 0.68.

  2. Default agent Matplotlib (mint.check → ship: false): text shrinks to 8.1 px at 700 px chat width, bar axis starts at 0.55 (bar_baseline_nonzero), error bars and bands are unlabelled (interval_unlabelled), rotated labels crowd, boxed legend, and a topic-only title ("Ablation Results") with no takeaway number.

    Default agent Matplotlib render of the ablation

  3. mintfig reply (mint.check → ship: true): "Retrieval and fine-tuning are the two components worth keeping; the other two are within seed noise."

    Removing retrieval costs 8 points of accuracy; removing fine-tuning costs 13

    No retrieval 0.74 and no fine-tuning 0.69 against 0.82 for the full model; neither 95% CI (5 seeds) overlaps it.

Reproduced from the exact same data by gallery/make_readme_comparison.py. The reply is one sentence, the figure, and one caption; fig.save() hands the agent the image line and caption in summary["deliver"] (Put it in front of the reader).

Three steps to get started
  1. Try it on a plot you already have (zero rewrite): run uvx mintfig check plot.py — or mint.check(fig) in Python — to audit text legibility, layout, and headline numbers against your plotted data.
  2. Enable it for your coding agent (2 commands): install mintfig, then run mintfig skill --install --global (or npx skills add blaiszik/mintfig) and mintfig hook --install --global. Claude Code & Cursor wire native PostToolUse audit hooks automatically; Codex, Gemini CLI, Antigravity, and GitHub Copilot use the bundled agent skill.
  3. Go further when you want to: draw message-first chat figures in one call with mint.explain(...) (or mintfig plot data.csv / --pr-card), add inline sparklines & intervals with pip install "mintfig[chip]" (mintchip), and export journal-ready multi-panel plates with mint.Plate(...).

Quickstart · Check Existing Matplotlib · Explain Results · Terminal Braille · Forms at a Glance · Benchmark · Themes & Palettes · Full Visual Gallery · Publication Plates · CLI & Agent Skill


Dose-response figure: triplicate wells on a log dose axis, one colour per compound across panels


Quickstart

pip install mintfig
# with companion inline micro-graphics (https://github.com/blaiszik/mintchip)
pip install "mintfig[chip]"
# or with uv
uv add mintfig
# or zero-install check on any existing plotting script
uvx mintfig check plot.py

Give your coding agents the bundled skill globally (Claude Code, Codex, Cursor, Gemini CLI, Antigravity, GitHub Copilot) and enable the automatic Matplotlib audit hook (native PostToolUse hooks on Claude Code & Cursor; skill-driven on Codex, Gemini CLI, Antigravity, and Copilot):

mintfig skill --install --global      # or: npx skills add blaiszik/mintfig
mintfig hook --install --global       # native PostToolUse hooks (Claude Code & Cursor)
Try it in 15 seconds (uvx mintfig demo)

Zero install — preview a 72-column 24-bit Braille training curve, a PR KPI summary card, and a mintchip table right in your terminal (or pass --html showcase.html to render the same 5-seed dataset across all six surfaces, from terminal Braille to a Nature 89 mm plate):

uvx mintfig demo
uvx mintfig demo --html showcase.html
Native MCP Server & Extensions (Claude Code, Claude Desktop, Gemini CLI, Antigravity, Cursor)

Expose mint_explain, mint_check, mint_plot_file, mint_card, and mint_chip directly to your coding agent — every figure call returns a verified PNG, a 72-column Braille fallback, computed facts, and an interactive ui://mintfig/figure MCP App UI:

# One command to register mintfig MCP across Claude Code, Claude Desktop, Cursor, Gemini CLI & Antigravity
mintfig mcp --install

# Or register directly with your harness CLI / native extension manifest
claude mcp add mintfig -- uvx mintfig mcp
gemini extensions install https://github.com/blaiszik/mintfig
Already have Matplotlib? Check it (mint.check)

Most figures an agent ships are plain Matplotlib — and without guardrails, only 35% (35/100) pass reading-width and layout checks in figure-bench v0.1. Adding the mint.check hook lifts that to 91% (91/100) with zero library rewrite. Watch mintfig check plot.py catch a wrong claim (12 points vs 8 points), a truncated bar axis, and 8.1 px text — then verify the fix:

mintfig check auditing a broken Matplotlib figure, catching a wrong headline claim and unreadable text, and verifying the fix

import matplotlib.pyplot as plt
import mintfig as mint

fig, ax = plt.subplots(figsize=(12, 5))
ax.bar(["full model", "no retrieval", "no fine-tuning"], [0.82, 0.74, 0.69], yerr=[0.02, 0.03, 0.03])
ax.set_ylim(0.6, 0.85)
ax.set_title("Removing retrieval costs 12 points of accuracy")

report = mint.check(fig, dpi=150)   # or mint.check(fig, "the sentence you will send")
print(report)
{
  "ship": false,
  "claim": "Removing retrieval costs 12 points of accuracy",
  "numbers": ["12 points: NOT FOUND in the data; closest: full model vs no retrieval: 0.82 − 0.74 = 8 points"],
  "issues": [
    "bar_baseline_nonzero: Bars start at zero but the value axis runs 0.6–0.85, so bar lengths overstate the differences.",
    "claim_number_mismatch: The claim states '12 points', which matches no value, difference, ratio, ...",
    "text_too_small: 10 text(s) under 11 px as read: 'full model' 8.1 px, ... The 1800 px PNG is shown 700 px wide, ...",
    "interval_unlabelled: The figure draws error bars or bands but never says what they are.",
    "axis_unlabelled: Axes 0 has numbers on its y axis but no label saying what they measure."
  ],
  "facts": [
    "highest full model 0.82, 0.08 above no retrieval (0.74), 1.11×; lowest no fine-tuning 0.69",
    "intervals of full model (0.8–0.84) and no retrieval (0.71–0.77) do not overlap"
  ],
  "display": {"png_px": [1800, 750], "shown_px": [700, 292], "min_text_px": 8.1}
}

(Abridged. Each entry in report["issues"] also carries a fix_hint, here "figsize width ≈ 4.7 in at dpi=150 … or set text to at least 14 pt".)

  • The claim, against the data. Bars, lines, error bars, scatter points, heatmaps (QuadMesh), histograms, fill_between CI bands, boxplots, and images are read back from the drawn artists. Each number the headline (or claim=) states is checked against values, differences, ratios, percentage changes, shares, and crossings (ignoring model IDs like Llama-3.1/8B and sample counts like 5 seeds).
  • At reading size. Text is measured after scaling the PNG to width="chat" (700 px), "narrow" (450 px, phones), or "slide" (1280 px), alongside overlaps, text struck by lines, malformed text, clipping, truncated bar baselines, and rainbow colormaps.
  • Zero-rewrite CLI, notebooks, and hooks. Run mintfig check plot.py (auto-detects your project .venv, or pass --python /path/to/python), mintfig check analysis.ipynb (zero extra deps), %load_ext mintfig in Jupyter/marimo, or mintfig hook --install --global (Claude Code & Cursor native PostToolUse hooks) so agent-written Matplotlib scripts are checked automatically with exit 0 (ship), 1 (fix first), or 2 (script error).
  • Upgrade existing Matplotlib in 1–2 lines (mint.style(), mint.explain(takeaway, fig)). Wrap existing plotting code in with mint.style(width="chat"): for chat-readable sizing, despining, and CVD-safe palettes without leaking global rcParams, or pass any existing Matplotlib/Seaborn Figure or Axes straight into mint.explain(takeaway, fig) to get the takeaway frame, mint.check facts, interactive HTML, and deliver (gallery/byo_matplotlib_examples.py).
Explain a result (mint.explain)

Write the conclusion first, then pick each panel by the question it answers. fig.save() returns a JSON summary containing computed facts per panel, any issues with a fix_hint, alt_text, and measured legibility at chat width:

import mintfig as mint

fig = mint.explain(
    "Removing retrieval costs 8 points of accuracy; removing fine-tuning costs 13",
    mint.compare(
        {"full model": 0.82, "no retrieval": 0.74, "no fine-tuning": 0.69},
        error={"full model": (0.80, 0.84), "no retrieval": (0.71, 0.77),
               "no fine-tuning": (0.66, 0.72)},
        error_label="95% CI, 5 seeds",
        title="Both losses are outside seed noise",
        label="Test accuracy",
        highlight=["no retrieval", "no fine-tuning"],
    ),
    mint.trend(
        [0, 500, 1000, 1500, 2000],
        {"full model": [0.02, 0.61, 0.76, 0.80, 0.82],
         "no retrieval": [0.02, 0.52, 0.67, 0.72, 0.74],
         "no fine-tuning": [0.01, 0.44, 0.60, 0.66, 0.69]},
        title="The gap opens in the first 500 steps",
        label="Validation accuracy",
        x_label="Training step",
    ),
    source="runs/ablation_2026-11 (5 seeds per variant)",
)
print(fig.save("ablation.png"))

No Python script needed? Render directly from CSV or JSON/stdin:

mintfig plot data.csv --kind auto --takeaway "Checkout p99 is 4x slower" --out fig.png
mintfig explain --example | mintfig explain - --style editorial --palette okabe_ito --out fig.png
Put it in front of the reader

A figure only helps once it is in the reply. summary["deliver"] says how: markdown (the image line), caption (one sentence taken from the facts that back the takeaway), text (a plain rendering for a code block where images do not show), and html (once saved as .html).

summary = fig.save("ablation.png")
deliver = summary["deliver"]
reply = f"Retrieval and fine-tuning both matter.\n\n{deliver['markdown']}\n\n*{deliver['caption']}*"
fig.show()                 # notebook: rich display; Kitty, iTerm2, WezTerm, Ghostty: inline PNG; else text
text = fig.to_text()       # plain text, at most 72 columns, for a code block
fig.save("ablation.html")  # one self-contained page

mintfig doctor reports which of these work where it runs (inline-image protocol, resolved font, notebook) and renders a sample. The HTML page embeds the figure laid out for 360 px, 450 px, and its own width and picks one with a container query, so text stays at 11 px or more; it follows the reader's light or dark setting; hovering or focusing a mark shows its value, interval, and n, and clicking copies a citation (ablation.png · b · no retrieval @ 500 = 0.52) to paste back to the agent. Under the figure there is one quiet line: data · svg · spec.

Terminal Braille & 24-bit True-Color

No image viewer, over SSH, or inside a CLI coding agent? Pass mode="braille" (or --braille on plot, show, explain, diff, and watch) for 2×4 Unicode Braille charts with stippled CI bands, side-by-side 2-panel composition (width >= 104), 24-bit ANSI true-color confusion matrices, box-drawn KPI summary cards (mint.card(...).to_terminal()), and mintchip --braille tables:

Side-by-side ECDF + beeswarm (width=116) PR KPI summary card (mint.card)
mintfig plot training_runs.csv --braille --style pine       # 2×4 Braille trend + CI bands in terminal
mintfig watch train_metrics.csv --braille --width auto      # live-reloading terminal chart on file change
mintfig card pr418_card.json --terminal --style pine        # rounded KPI tiles + Braille sparklines + panel

See all 8 Terminal Braille & True-Color examples, snippets & raw ANSI captures →

Words on the marks, tables with graphics, briefings

Entity names in the takeaway and panel titles are drawn in their colour (color_names=False turns it off). When the takeaway states a difference between two marks, compare draws it as a bracket with the number (show_delta="auto", the default). density="compact" gives thinner bars and tighter rows at the same type sizes.

fig = mint.explain(
    "Beta scores 8 points below Alpha; Gamma 13 below",
    mint.compare({"Alpha": 82.0, "Beta": 74.0, "Gamma": 69.0}, label="Accuracy", unit="%",
                 baseline="Alpha", highlight=["Beta", "Gamma"], title="Test accuracy"),
    density="compact",  # thinner bars, tighter rows and gaps; same type sizes
)

mint.table draws a bar, whisker, or sparkline in the cell beside each number, on one scale per column, so a scorecard no longer needs a bar panel beside it:

rows = [
    {"Model": "full model", "Accuracy": 82.0, "lo": 80.5, "hi": 83.4, "Latency": 182},
    {"Model": "no retrieval", "Accuracy": 74.0, "lo": 72.1, "hi": 75.8, "Latency": 95},
    {"Model": "no fine-tuning", "Accuracy": 69.0, "lo": 67.0, "hi": 71.1, "Latency": 180},
]
scorecard = mint.table(
    rows, units={"Accuracy": "%", "Latency": "ms"}, baseline="full model", highlight="no retrieval",
    interval={"Accuracy": ("lo", "hi")}, interval_label="95% CI, 5 seeds",  # whisker beside the number
    bars="Latency",                                                         # bar from zero, one scale
    spark={"Training": {"full model": [2, 61, 78, 82], "no retrieval": [2, 48, 68, 74],
                        "no fine-tuning": [1, 40, 60, 69]}},                # sparklines, one y range
    title="Accuracy, latency and training curve per variant",
)
table_fig = mint.explain("Dropping retrieval halves latency and costs 8 points of accuracy",
                         scorecard, source="ablation runs")

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases mintfig

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229