Skip to content

Commit e87361a

Browse files
kolibril13behackl
andauthored
Update docs/source/examples/3d.rst
Co-authored-by: Benjamin Hackl <[email protected]>
1 parent d09060a commit e87361a

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

docs/source/examples/3d.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,14 @@
88
class Example3DNo1(ThreeDScene):
99
def construct(self):
1010
axes = ThreeDAxes()
11-
1211
sphere = ParametricSurface(
1312
lambda u, v: np.array([
1413
1.5 * np.cos(u) * np.cos(v),
1514
1.5 * np.cos(u) * np.sin(v),
1615
1.5 * np.sin(u)
17-
]), v_min=0, v_max=TAU, u_min=-PI / 2, u_max=PI / 2, checkerboard_colors=[RED_D, RED_E],
18-
resolution=(15, 32))
19-
16+
]), v_min=0, v_max=TAU, u_min=-PI / 2, u_max=PI / 2,
17+
checkerboard_colors=[RED_D, RED_E], resolution=(15, 32)
18+
)
2019
self.set_camera_orientation(phi=75 * DEGREES, theta=30 * DEGREES)
21-
2220
self.add(axes, sphere)
2321

24-

0 commit comments

Comments
 (0)