在同一图里画两个隐函数图

1
2
3
4
5
6
from sympy import *
x, y = symbols('x y')
p1 = plot_implicit(Eq(x**2 + y**2, 1), show = False, line_color = 'red')
p2 = plot_implicit(Eq(x + y, 1), show = False)
p1.extend(p2)
p1.show()