Skip to content

Commit

Permalink
added missing variable to example
Browse files Browse the repository at this point in the history
  • Loading branch information
Davide-sd committed Apr 13, 2024
1 parent 8333ddc commit 431af32
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spb/graphics/functions_3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,9 +504,10 @@ def surface(
from sympy import *
from spb import *
import panel as pn
x, y, a, b, d, e = symbols("x y a b d e")
x, y, a, b, c, d, e = symbols("x y a b c d e")
graphics(
surface(cos(x**2 + y**2) * exp(-(x**2 + y**2) * d),
surface(
cos(x**2 + y**2) * exp(-(x**2 + y**2) * a),
prange(x, b, c), prange(y, d, e),
params={
a: (0.25, 0, 1),
Expand Down

0 comments on commit 431af32

Please sign in to comment.