'How can I suppress latex output when using sympy/other, taking derivatives etc in Jupyter
I am using sympy/derivative stuff in jupyter.
So I define a function as follow:
def func_one(x,y):
return x**2 + 2*y**2
Then, with sympy I define some symbols, store my function in a variable 'f', then take its first derivative in a variable 'fprime'.
x = sympy.Symbol('x')
y = sympy.Symbol('y')
f = func_one(x,y)
fprime = f.diff(x)
fprime
However when I run 'fprime', I get this latex output below, which I cannot use again, is there a way to suppress this latex output?
2𝑥
I.e., I want to get:
2x
Cheers all!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
