diff --git a/examples/plot_chi4.py b/examples/plot_chi4.py index 6ef3b22..cb02fcf 100644 --- a/examples/plot_chi4.py +++ b/examples/plot_chi4.py @@ -39,7 +39,7 @@ chi4 = len(OW[0]) * Fqt.var(axis=0) tudplot.activate() plt.plot(t, chi4, 'h', label=r'$\chi_4$') -plt.plot(t[2:-2], md.utils.runningmean(chi4, 5), '-', label='smoothed') +plt.plot(t[2:-2], md.utils.moving_average(chi4, 5), '-', label='smoothed') plt.semilogx() plt.xlabel('time / ps')