From 005109daafa3ea8b89320db5ee19ac06ed3d3b18 Mon Sep 17 00:00:00 2001
From: Kipp Cannon <kipp.cannon@ligo.org>
Date: Sun, 6 Aug 2017 10:48:25 +0900
Subject: [PATCH] reference_psd: new horizon distance code

- forgot one spot in plotpsd.py
- refs #5603
---
 gstlal/python/plotpsd.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gstlal/python/plotpsd.py b/gstlal/python/plotpsd.py
index 81b06f9678..0744aa5fe2 100644
--- a/gstlal/python/plotpsd.py
+++ b/gstlal/python/plotpsd.py
@@ -99,7 +99,7 @@ def plot_psds(psds, coinc_xmldoc = None, plot_width = 640):
 		if instrument in on_instruments:
 			alpha = 0.8
 			linestyle = "-"
-			label = "%s (%.4g Mpc Horizon)" % (instrument, reference_psd.horizon_distance(psd, 8.)[0])
+			label = "%s (%.4g Mpc Horizon)" % (instrument, horizon_distance(psd, 8.)[0])
 		else:
 			alpha = 0.6
 			linestyle = ":"
-- 
GitLab