From 1e7a72a1f2f01cfa614aa7d1b9ebb790649a0215 Mon Sep 17 00:00:00 2001 From: Jan Weidner Date: Tue, 3 Oct 2017 20:44:24 +0200 Subject: [PATCH 1/2] replace d by plotattributes inside recipes --- src/plot_recipes.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plot_recipes.jl b/src/plot_recipes.jl index df9f8afb..0c405efa 100644 --- a/src/plot_recipes.jl +++ b/src/plot_recipes.jl @@ -183,8 +183,8 @@ export VectorField @recipe function f(F::VectorField; n=8) - xlims = get(d,:xlims, (-5,5)) - ylims = get(d, :ylims, (-5,5)) + xlims = get(plotattributes,:xlims, (-5,5)) + ylims = get(plotattributes, :ylims, (-5,5)) xs = repeat(linspace(xlims[1], xlims[2], n), inner=(n,)) ys = repeat(linspace(ylims[1], ylims[2], n), outer=(n,)) From 1e9ec9839071402c03af2dcdc38b8a5115d9405d Mon Sep 17 00:00:00 2001 From: Jan Weidner Date: Tue, 3 Oct 2017 20:51:49 +0200 Subject: [PATCH 2/2] bump required RecipesBase version --- REQUIRE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/REQUIRE b/REQUIRE index 85bfce91..66bf18ef 100644 --- a/REQUIRE +++ b/REQUIRE @@ -1,5 +1,5 @@ julia 0.4 Compat 0.25.0 PyCall 1.6.0 -RecipesBase 0.0.4 +RecipesBase 0.2.3 BaseTestNext 0.2.2