In Google\'s colaboratory, installed arviz then did import arviz without error, but in a code cell, pm.plot_posterior(samples) gets error: arviz not installed.
Tryin
Install Arviz prior to importing PyMC3, otherwise it apparently cannot find it. In your case, simply restarting the runtime (Runtime > Restart runtime...) should get it working.
Hi did you try adding the cell magic %matplotlib inline
? This may be an issue where jupyter-notebook doesn't "know" to render the plot inline