diff --git a/bilby/core/result.py b/bilby/core/result.py
index ab5acbd157339ded1f453008b9bb7427d5544edf..5bc278e580ee18a150356c4df8528e906297bac8 100644
--- a/bilby/core/result.py
+++ b/bilby/core/result.py
@@ -923,8 +923,10 @@ class Result(object):
         cond2 = parameters is None
         cond3 = bool(kwargs.get("truths", True))
         if cond1 and cond2 and cond3:
-            parameters = {key: self.injection_parameters[key] for key in
-                          self.search_parameter_keys}
+            parameters = {
+                key: self.injection_parameters.get(key, np.nan)
+                for key in self.search_parameter_keys
+            }
 
         # If parameters is a dictionary, use the keys to determine which
         # parameters to plot and the values as truths.