diff --git a/pymbolic/imperative/utils.py b/pymbolic/imperative/utils.py
index e609807429f040faafe20e3250641939c70c13bd..035f51ac87c732f5c6ede5bc856de0667b2d221a 100644
--- a/pymbolic/imperative/utils.py
+++ b/pymbolic/imperative/utils.py
@@ -66,7 +66,7 @@ def get_dot_dependency_graph(
                 repr(tooltip)[1:-1],
                 )
 
-    lines = list(_default_preamble_hook())
+    lines = list(preamble_hook())
     dep_graph = {}
 
     # maps (oriented) edge onto annotation string