Skip to content

Commit c595819

Browse files
author
Matthias Koeppe
committed
sage.plot: Update # needs
1 parent 15f3d39 commit c595819

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

src/sage/plot/arc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def __init__(self, x, y, r1, r2, angle, s1, s2, options):
5656
5757
EXAMPLES::
5858
59+
sage: # needs sage/symbolic
5960
sage: A = arc((2,3),1,1,pi/4,(0,pi))
6061
sage: A[0].x == 2
6162
True

src/sage/plot/ellipse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def plot3d(self):
220220
TESTS::
221221
222222
sage: from sage.plot.ellipse import Ellipse
223-
sage: Ellipse(0,0,2,1,pi/4,{}).plot3d()
223+
sage: Ellipse(0,0,2,1,pi/4,{}).plot3d() # needs sage.symbolic
224224
Traceback (most recent call last):
225225
...
226226
NotImplementedError

src/sage/plot/line.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,7 @@ def line2d(points, **options):
559559
560560
A purple plot of the Riemann zeta function `\zeta(1/2 + it)`, `0 < t < 30`::
561561
562+
sage: # needs sage.libs.pari sage.rings.complex_double
562563
sage: i = CDF.gen()
563564
sage: v = [zeta(0.5 + n/10 * i) for n in range(300)]
564565
sage: L = [(z.real(), z.imag()) for z in v]

src/sage/plot/matrix_plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ def matrix_plot(mat, xrange=None, yrange=None, **options):
535535
536536
::
537537
538-
sage: matrix_plot([[sin(x), cos(x)], [1, 0]])
538+
sage: matrix_plot([[sin(x), cos(x)], [1, 0]]) # needs sage.symbolic
539539
Traceback (most recent call last):
540540
...
541541
TypeError: mat must be a Matrix or a two dimensional array

0 commit comments

Comments
 (0)