``log10`` is not defined so the plot generation crashes, use ``np.log10`` instead. This should be fixed in all examples in this PR.