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.55k stars 7.85k forks source link

change x to be the same size for plot #402

Open paddyroddy opened 5 years ago

paddyroddy commented 5 years ago

The original plot gives the following error:

ValueError: x and y must have same first dimension, but have shapes (50000,) and (125000,)

have change numpy arange so the dimensions are the same