Skip to content

Commit

Permalink
Merge pull request #204 from jverzani/master
Browse files Browse the repository at this point in the history
adjust plot recipe
  • Loading branch information
jverzani authored Jan 13, 2018
2 parents 6da489b + 62f9ec6 commit 8131e19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
julia 0.6.0
Compat 0.33.0
PyCall 1.6.0
RecipesBase 0.0.4
RecipesBase 0.2.3
SpecialFunctions 0.3.4

4 changes: 2 additions & 2 deletions src/plot_recipes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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,))
Expand Down

0 comments on commit 8131e19

Please sign in to comment.