diff --git a/examples/plot_online_example.py b/examples/plot_online_example.py
index 2dfec0cd3d216580289cc1a037c3ff922043d226..bdc4b44e0a1593bf021428337713a8b9c9894779 100644
--- a/examples/plot_online_example.py
+++ b/examples/plot_online_example.py
@@ -49,7 +49,7 @@ print(f.events[0].snapshot_hits.tot)
 # keyword and then use the data which has been "pulled out" of the ROOT file.
 
 
-for chunk in f.slices:
+for chunk in f.summaryslices:
     break
 
 #####################################################