diff --git a/crosscat/tests/test_log_likelihood.py b/crosscat/tests/test_log_likelihood.py
index <HASH>..<HASH> 100644
--- a/crosscat/tests/test_log_likelihood.py
+++ b/crosscat/tests/test_log_likelihood.py
@@ -124,8 +124,8 @@ def summary_plotter(results, dirname='./'):
         pylab.plot(xlim, xlim)
         return
     def _plot_and_save(frame, variable_suffix, dirname='./'):
-        x = frame['final_' + variable_suffix]
-        y = frame['gen_' + variable_suffix]
+        x = frame['gen_' + variable_suffix]
+        y = frame['final_' + variable_suffix]
         _scatter(x, y)
         pylab.title(variable_suffix)
         filename = variable_suffix
summary scatter: fix inverted sense of {in,}dependent variable