From 8ffee38684f26fd9ca56dc2dffc4c9539e01a6bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BAlio=20Hoffimann?= Date: Fri, 20 Oct 2017 13:36:30 -0700 Subject: [PATCH] Fix placement of optimum template range in plot recipe --- src/plot_recipes.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plot_recipes.jl b/src/plot_recipes.jl index 55383982..375986c9 100644 --- a/src/plot_recipes.jl +++ b/src/plot_recipes.jl @@ -43,7 +43,7 @@ best = ts[rank[1:min(5,length(ts))]] xmin, xmax = minimum(best), maximum(best) - reference = μs[1] - σs[1] + reference = minimum(μs - σs) ymin = max(0., reference - .05) ymax = ymin + .008