Ticket #1877: trac_1877_review.patch
| File trac_1877_review.patch, 1.3 kB (added by anakha, 4 months ago) |
|---|
-
a/sage/plot/plot3d/parametric_plot3d.py
old new 374 374 G = parametric_plot3d_curve(f, urange, plot_points, **kwds) 375 375 else: 376 376 if urange[0] is vrange[0]: 377 raise ValueError, " Plot variables should be distinct, but both are %s."%urange[0]377 raise ValueError, "plot variables should be distinct, but both are %s."%(urange[0],) 378 378 379 379 if plot_points == "automatic": 380 380 plot_points = [40,40] -
a/sage/plot/plot3d/plot3d.py
old new 149 149 u = urange[0] 150 150 v = vrange[0] 151 151 if u is v: 152 raise ValueError, " Plot variables should be distinct, but both are %s."%u152 raise ValueError, "plot variables should be distinct, but both are %s."%(u,) 153 153 154 154 w = (u, v, f) 155 155