Ticket #1877: trac_1877_doctests.patch
| File trac_1877_doctests.patch, 1.3 kB (added by anakha, 4 months ago) |
|---|
-
a/sage/plot/plot3d/parametric_plot3d.py
old new 342 342 sage: plot3d(u^2-v^2, (u, -1, 1), (u, -1, 1)) 343 343 Traceback (most recent call last): 344 344 ... 345 ValueError: Plot variables should be distinct, but both are u.345 ValueError: plot variables should be distinct, but both are u. 346 346 """ 347 347 # TODO: 348 348 # * Surface -- behavior of functions not defined everywhere -- see note above -
a/sage/plot/plot3d/plot3d.py
old new 135 135 sage: plot3d( 4*x*exp(-x^2-y^2), (x,-2,2), (x,-2,2)) 136 136 Traceback (most recent call last): 137 137 ... 138 ValueError: Plot variables should be distinct, but both are x.138 ValueError: plot variables should be distinct, but both are x. 139 139 """ 140 140 if len(urange) == 2: 141 141 try: