Update plot.jl

This commit is contained in:
Josh Day 2016-02-03 12:47:48 -05:00
parent b9c8ffb5cf
commit 94c87d436f

View File

@ -413,7 +413,7 @@ function createKWargsList(plt::PlottingObject, x::AVec, y::AVec, surf::Surface;
end
function createKWargsList(plt::PlottingObject, f::FuncOrFuncs; kw...)
error("Can't pass a Function or Vector{Function} for y without also passing x")
createKWargsList(plt, f, xmin(plt), xmax(plt); kw...)
end
# list of functions