See PR https://github.com/BayesianModelingandComputationInPython/BookCode_Edition1/pull/220
See PR #220