change contour example

Co-Authored-By: sswatson <samuel.s.watson@gmail.com>
This commit is contained in:
Iblis Lin 2019-01-10 08:46:38 -05:00 committed by Michael Krabbe Borregaard
parent dd28159564
commit 3765d5f549

View File

@ -278,7 +278,8 @@ $xyzdoc
# Example
```julia-repl
julia> contour(-20:20,-20:20,(x,y)->x^2+y^2)
julia> x = y = range(-20, 20, length = 100)
julia> contour(x, y, (x, y) -> x^2 + y^2)
```
"""
@shorthands contour