Remix.run Logo
Show HN: Better Graphs – Teach agents to stop making plain Matplotlib slop(temataro.github.io)
6 points by tem_alThor 10 hours ago | 1 comments

https://github.com/temataro/better-graphs

I want to teach good Matplotlib taste to agents and humans. This repo contains: 1. Agent instructions + design motifs (Claude Code skills + a CLAUDE.md). 2. An online "blog" tutorial of the same skills, for people. 3. minerva.mplstyle, my opinionated sane matplotlib defaults.

Inspired by Tufte's book: The Visual Display of Quantitative Information (a gift from my boss!), plus data-to-viz.com and the python-graph-gallery. Aiming for halfway to the gorgeous plots in the paid matplotlib-journey.com, but free and open to share with friends. :)

tem_alThor 10 hours ago | parent [-]

  This repo is three things in one:
  1- A set of instructions and design motifs AI agents can incorporate into their understanding of what makes a good Matplotlib graph through SKILLs and a CLAUDE.md.
  2- An online 'blog' tutorial for a human audience to learn the same skills (to remind me how to do specific things or teach an intern/coworker the same idea).
  3- An included mplstyle file that contains my opinionated set of sane default configurations for matplotlib: minerva.mplstyle.
My biggest inspiration was Tufte's The Visual Display of Quantitative Information which my boss gifted me a couple years ago, data-to-viz(dot)com and the python-graph-gallery were the big references for "which chart for which data", and to be fair those are by the same author as a paid course I couldn't justify paying for to myself called matplotlib-journey(dot)com. My is to try to get half the way to the amazing plots they show you but free, open-source so I can share it with friends

I'd genuinely be interested just to use this post as a way to survey the HN community on what things levelled-up your own Matplotlib graphing or what finally made general science/quantitative data communication click.