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  
    342342        sage: plot3d(u^2-v^2, (u, -1, 1), (u, -1, 1)) 
    343343        Traceback (most recent call last): 
    344344        ... 
    345         ValueError: Plot variables should be distinct, but both are u. 
     345        ValueError: plot variables should be distinct, but both are u. 
    346346    """ 
    347347    # TODO: 
    348348    #   * Surface -- behavior of functions not defined everywhere -- see note above 
  • a/sage/plot/plot3d/plot3d.py

    old new  
    135135        sage: plot3d( 4*x*exp(-x^2-y^2), (x,-2,2), (x,-2,2)) 
    136136        Traceback (most recent call last): 
    137137        ... 
    138         ValueError: Plot variables should be distinct, but both are x. 
     138        ValueError: plot variables should be distinct, but both are x. 
    139139    """ 
    140140    if len(urange) == 2: 
    141141        try: