Probabilistic-Programming-and-Bayesian-Methods-for-Hackers
Probabilistic-Programming-and-Bayesian-Methods-for-Hackers copied to clipboard
fix: Subplot in Chapter 1 gives Matplotlib warning
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.