I gave ChatGPT a matplotlib script and asked it to animate it. It rewrote the script (same output, bit for bit) and added animation code. After a brief back and forth where I showed it the error messages, I got working output. This after 30m of failed stackoverflowing.