AllenDowney / ThinkBayes2

Text and code for the forthcoming second edition of Think Bayes, by Allen Downey.
http://allendowney.github.io/ThinkBayes2/
MIT License
1.81k stars 1.49k forks source link

Typo #4

Open raunilillemets opened 7 years ago

raunilillemets commented 7 years ago

Hello and thanks for Your interesting book! I am trying to use the Python3 version of the code and I found the following typo:

Shouldn't line 516 in "thinkplot.py" be: xs = np.delete(xs, 0) instead of: xs = xp.delete(xs, 0) ?

If I am mistaken, how should the correct variant be?

raunilillemets commented 7 years ago

I created a pull request in the hope that I made the correction (wait for it) correctly.

I know its a rather minor thing for creating a pull request, but I am just trying to get accustomed with GitHub; if there are any best practices, etc., that I should now, then shoot.