@@ -110,7 +110,7 @@ def plot3d_parametric_line(*args, **kwargs):
110110 ... 3 * sin(t) + 2 * sin(3 * t), cos(t) - 2 * cos(3 * t), cos(5 * t),
111111 ... (t, 0, 2 * pi), "t [rad]", {"cmap": "hsv", "lw": 1.5},
112112 ... aspect="equal",
113- ... colorbar_ticks_formatter=multiples_of_pi_over_2()))
113+ ... colorbar_ticks_formatter=multiples_of_pi_over_2())
114114 Plot object containing:
115115 [0]: 3D parametric cartesian line: (3*sin(t) + 2*sin(3*t), cos(t) - 2*cos(3*t), cos(5*t)) for t over (0, 2*pi)
116116
@@ -787,6 +787,9 @@ def plot3d_implicit(*args, **kwargs):
787787 .. k3d-screenshot::
788788 :camera: 10.29, -15.33, -9.3, 0, 0, 0, 0.28, -0.41, 0.87
789789
790+ from sympy import *
791+ from spb import *
792+ var("x:z")
790793 plot3d_implicit(
791794 x*y*z < 1, (x, -5, 5), (y, -5, 5), (z, -5, 5),
792795 n=150, backend=KB
@@ -795,6 +798,9 @@ def plot3d_implicit(*args, **kwargs):
795798 .. k3d-screenshot::
796799 :camera: -5.2, -1.86, 2.06, 0, 0.87, 0, 0.23, 0.16, 0.96
797800
801+ from sympy import *
802+ from spb import *
803+ var("x:z")
798804 plot3d_implicit(
799805 (x**2 + y**2 + z**2 >= 1) & (x**2 + y**2 + z**2 <= 3) & (y >= 0),
800806 (x, -2, 2), (y, -2, 2), (z, -2, 2),
0 commit comments