There will a brief, around 15 minute, outage of git.ligo.org, chat.ligo.org, and docs.ligo.org tomorrow evening, Tuesday 15 October 2019, at 10pm CDT. This is due to some campus level network maintenance work that is being carried out.

Commit 9cc2bf79 authored by chad.hanna's avatar chad.hanna

plotfar.py: fix ValueError for misssing instrument

parent 5e1b79bb
......@@ -417,7 +417,10 @@ def plot_horizon_distance_vs_time(rankingstat, (tlo, thi), masses = (1.4, 1.4),
if tref is not None:
x -= float(tref)
axes.plot(x, y, color = plotutil.colour_from_instruments([instrument]), label = "%s" % instrument)
yhi = max(max(y), yhi)
try:
yhi = max(max(y), yhi)
except ValueError:
pass
if tref is not None:
axes.set_xlabel("Time From GPS %.2f (s)" % float(tref))
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment