Skip to content

Commit 8131e19

Browse files
authored
Merge pull request #204 from jverzani/master
adjust plot recipe
2 parents 6da489b + 62f9ec6 commit 8131e19

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

REQUIRE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
julia 0.6.0
22
Compat 0.33.0
33
PyCall 1.6.0
4-
RecipesBase 0.0.4
4+
RecipesBase 0.2.3
55
SpecialFunctions 0.3.4
66

src/plot_recipes.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ export VectorField
183183

184184
@recipe function f(F::VectorField; n=8)
185185

186-
xlims = get(d,:xlims, (-5,5))
187-
ylims = get(d, :ylims, (-5,5))
186+
xlims = get(plotattributes,:xlims, (-5,5))
187+
ylims = get(plotattributes, :ylims, (-5,5))
188188

189189
xs = repeat(linspace(xlims[1], xlims[2], n), inner=(n,))
190190
ys = repeat(linspace(ylims[1], ylims[2], n), outer=(n,))

0 commit comments

Comments
 (0)