Skip to content

Commit 73a5b51

Browse files
author
Matthias Koeppe
committed
src/sage/plot/plot3d/shapes.pyx: Use block tag
1 parent abc8d16 commit 73a5b51

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/sage/plot/plot3d/shapes.pyx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -412,12 +412,13 @@ cdef class Cylinder(ParametricSurface):
412412
413413
Some gears::
414414
415+
sage: # needs sage.symbolic
415416
sage: G = Cylinder(1, .5) + Cylinder(.25, 3).translate(0, 0, -3)
416-
sage: G += sum(Cylinder(.2, 1).translate(cos(2*pi*n/9), sin(2*pi*n/9), 0) # needs sage.symbolic
417+
sage: G += sum(Cylinder(.2, 1).translate(cos(2*pi*n/9), sin(2*pi*n/9), 0)
417418
....: for n in [1..9])
418-
sage: G += G.translate(2.3, 0, -.5) # needs sage.symbolic
419-
sage: G += G.translate(3.5, 2, -1) # needs sage.symbolic
420-
sage: G.show(aspect_ratio=1, frame=False) # needs sage.symbolic
419+
sage: G += G.translate(2.3, 0, -.5)
420+
sage: G += G.translate(3.5, 2, -1)
421+
sage: G.show(aspect_ratio=1, frame=False)
421422
422423
.. PLOT::
423424

0 commit comments

Comments
 (0)