diff --git a/example_files/01_testfile.py b/example_files/01_testfile.py
index f4e7b0fff44a841ba45a915db7ad77169aba8a75..50bfe80b70087ade0fd0d6d54e304e1f70e9c1f1 100644
--- a/example_files/01_testfile.py
+++ b/example_files/01_testfile.py
@@ -33,7 +33,7 @@ fig = plt.figure(2)
 fig.clf()
 plt.plot(model_1L.train_hist['f'])
 plt.plot(model_2L.train_hist['f'])
-plt.legend(['1L, f max', '2L, p max'])
+plt.legend(['1L, f max', '2L, f max'])
 plt.xlabel('training iteration')
 plt.xscale('log')
 plt.yscale('log')