Skip to content

Commit 15ac03b

Browse files
committed
feat: test sympy
1 parent b9b3a0b commit 15ac03b

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

content/matplotlib.md

+13
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,16 @@ plt.axis('equal')
5555
plt.fill(x, y)
5656
plt.show()
5757
```
58+
59+
## Sympy Example
60+
```{code-cell} python3
61+
from sympy.plotting import plot3d
62+
from sympy import symbols
63+
64+
from sympy.plotting import plot3d
65+
x, y = symbols('x y')
66+
z = x**2 + y**2 + 4
67+
68+
display(z)
69+
plot3d(z, (x, -10,10), (y, -10,10))
70+
```

requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ numpy
33
plotly
44
bokeh
55
matplotlib
6+
sympy
67

8+
# Jupyter execution dependencies
79
jupyter-server
810
ipykernel

0 commit comments

Comments
 (0)