Running Example Notebooks

I ran the first example notebook - Sampler Statistics and found the following two interdependent glitches(maybe)

The usage of
%matplotlib inline

at

Line 7

is supported only if IPython is installed.

Instead, we can use plt.show() after every figure we need to print.

This does compromise on the quality of a few graphs.

We can add to the docs that IPython is required.
What should be done?

Thanks

They are meant to run as jupyter notebooks, as in general in a .py file you are not supposed to have %matplotlib inline.
Do you have jupyter notebook installed? You should open a jupyter kernel and run the notebooks from the browser.

Okay, Thanks!
I’ll complete the installation and then run it.