diff --git a/REQUIRE b/REQUIRE index bb98e6de..028c6a91 100644 --- a/REQUIRE +++ b/REQUIRE @@ -1,10 +1,10 @@ -julia 0.7 1.0 +julia 1.0 Optim 0.16.0 PDMats 0.9.4 Distributions 0.16.2 Distances 0.7.3 ScikitLearnBase 0.4.0 -RecipesBase 0.5.0 0.6 +RecipesBase 0.6 FastGaussQuadrature 0.3.1 StatsFuns 0.7.0 SpecialFunctions 0.7.0 diff --git a/src/plot.jl b/src/plot.jl index 071975da..80d8ff49 100644 --- a/src/plot.jl +++ b/src/plot.jl @@ -8,7 +8,7 @@ @assert gp.dim ∈ (1,2) if gp.dim == 1 xlims --> (minimum(gp.x), maximum(gp.x)) - xmin, xmax = d[:xlims] + xmin, xmax = plotattributes[:xlims] x = range(xmin, stop=xmax, length=100) μ, Σ = predict_f(gp, x) y = μ @@ -32,8 +32,8 @@ else xlims --> (minimum(gp.x[1,:]), maximum(gp.x[1,:])) ylims --> (minimum(gp.x[2,:]), maximum(gp.x[2,:])) - xmin, xmax = d[:xlims] - ymin, ymax = d[:ylims] + xmin, xmax = plotattributes[:xlims] + ymin, ymax = plotattributes[:ylims] x = range(xmin, stop=xmax, length=50) y = range(ymin, stop=ymax, length=50) xgrid = repeat(x', 50, 1)