Skip to content
Snippets Groups Projects
Commit c26fa326 authored by Kipp Cannon's avatar Kipp Cannon
Browse files

plotfar.py: correct use of axvline()

- ylo and yhi are in axes co-ordinates, not data co-ordinates
- and the default is to draw from top to bottom so no need to set them at all
parent e0b0ab35
No related branches found
No related tags found
No related merge requests found
......@@ -337,7 +337,7 @@ def plot_likelihood_ratio_ccdf(fapfar, (xlo, xhi), observed_ln_likelihood_ratios
if ln_likelihood_ratio_markers is not None:
for ln_likelihood_ratio in ln_likelihood_ratio_markers:
axes.axvline(ln_likelihood_ratio, ylo, yhi)
axes.axvline(ln_likelihood_ratio)
axes.set_xlim((xlo, xhi))
axes.set_ylim((ylo, yhi))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment