layout error msg

This commit is contained in:
Thomas Breloff 2016-09-22 17:36:08 -04:00
parent c798fe6822
commit c58de34e63

View File

@ -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