How Are These Diagrams Made?
Hi thanks for all the comments!

I asked the author on Twitter and it turns out the he uses Keynote to make those diagrams, and not some obscure library written in python or TeX.