CamDavidsonPilon / Probabilistic-Programming-and-Bayesian-Methods-for-Hackers

aka "Bayesian Methods for Hackers": An introduction to Bayesian methods + probabilistic programming with a computation/understanding-first, mathematics-second point of view. All in pure Python ;)
http://camdavidsonpilon.github.io/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/
MIT License
26.51k stars 7.84k forks source link

normed option in plt.hist is deprecated #493

Open ecotner opened 4 years ago

ecotner commented 4 years ago

I just started going through the jupyter notebooks (great stuff, by the way), and when running the cells the first time I would always get some error like Polygon has no attribute normed. It turns out that the normed option in plt.hist has been deprecated (in matplotlib version 3.1.1 and later as far as I can tell), and should instead be replaced with density (they appear to operate similarly).

Should this be changed? I wouldn't mind going through and making the modifications myself as I work through the notebooks.