From c58de34e6371a04bc7442048638a0106c7dd6651 Mon Sep 17 00:00:00 2001 From: Thomas Breloff Date: Thu, 22 Sep 2016 17:36:08 -0400 Subject: [PATCH] layout error msg --- src/layouts.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts.jl b/src/layouts.jl index d39a7762..dba708ee 100644 --- a/src/layouts.jl +++ b/src/layouts.jl @@ -437,7 +437,7 @@ end function layout_args(d::KW, n_override::Integer) layout, n = layout_args(get(d, :layout, n_override)) if n != n_override - error("When doing layout, n != n_override. You're probably trying to force existing plots into a layout that doesn't fit them.") + error("When doing layout, n ($n) != n_override ($(n_override)). You're probably trying to force existing plots into a layout that doesn't fit them.") end layout, n end