From 94c87d436f6390948984d0e1a414eb278669143d Mon Sep 17 00:00:00 2001 From: Josh Day Date: Wed, 3 Feb 2016 12:47:48 -0500 Subject: [PATCH] Update plot.jl --- src/plot.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plot.jl b/src/plot.jl index 1408ff7e..8a1d1433 100644 --- a/src/plot.jl +++ b/src/plot.jl @@ -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