PyCAS
import js
from sympy.abc import x, y
from sympy import *
result = solve(x**2 - y, x, dict=True)
result_latex = latex(result)
js.draw(result_latex)
\({}\)
import matplotlib.pyplot as plt
import numpy as np
fig, ax = plt.subplots()
xs = np.linspace(0, 10, 1000)
plt.plot(xs, np.sin(xs**2))
plt.xlabel("x")
plt.ylabel("y")
fig