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 ;)
Fix a Matplotlib 3.3 deprecation warning in the beginning of the Chapter 1 notebooks.
The exact warning is:
MatplotlibDeprecationWarning: Passing non-integers as three-element position specification is deprecated since 3.3 and will be removed two minor releases later.
The simple fix is done by using floor division with // so that the type is int and not float. Since it's the first chapter it's particularly important to keep it clean.
Fix a Matplotlib 3.3 deprecation warning in the beginning of the Chapter 1 notebooks.
The exact warning is:
The simple fix is done by using floor division with
//
so that the type isint
and notfloat
. Since it's the first chapter it's particularly important to keep it clean.