diff --git a/examples/plot_online_example.py b/examples/plot_online_example.py
index bdc4b44e0a1593bf021428337713a8b9c9894779..c735b128b0254e7e1719e0d3891844d749a8e253 100644
--- a/examples/plot_online_example.py
+++ b/examples/plot_online_example.py
@@ -65,7 +65,7 @@ print(dom_ids)
 # The .type attribute (or in general, <TAB> completion) is useful to find out
 # more about the field structure:
 
-print(chunks.slices.type)
+print(chunk.slices.type)
 
 #####################################################
 # Similar to the summaryslice data, the headers can be accessed the same way