It uses Python's Matplotlib with a custom styling, available here: https://github.com/CamDavidsonPilon/Probabilistic-Programmin...
If soI took a quick look at your book and it looks excellent.
https://github.com/CamDavidsonPilon/Probabilistic-Programmin...