Ticket #3813: trac_3813_doctestfixes.patch

File trac_3813_doctestfixes.patch, 1.7 kB (added by mabshoff, 5 months ago)
  • a/sage/plot/plot.py

    old new  
    11751175        z-coordinate.  
    11761176 
    11771177        EXAMPLES:  
    1178             sage: sum([plot(z*sin(x), 0, 10).plot3d(z) for z in range(6)]) 
     1178            sage: sum([plot(z*sin(x), 0, 10).plot3d(z) for z in range(6)]) #long 
    11791179        """ 
    11801180        from sage.plot.plot3d.base import Graphics3dGroup 
    11811181        g = Graphics3dGroup([g.plot3d(**kwds) for g in self.__objects]) 
     
    12901290        Add grid lines at specific positions (using iterators). 
    12911291            sage: def maple_leaf(t): 
    12921292            ...     return (100/(100+(t-pi/2)^8))*(2-sin(7*t)-cos(30*t)/2) 
    1293             sage: p = polar_plot(maple_leaf, -pi/4, 3*pi/2, rgbcolor="red",plot_points=1000) 
    1294             sage: p.show(gridlines=( [-3,-2.75,..,3], xrange(-1,5,2) )) 
     1293            sage: p = polar_plot(maple_leaf, -pi/4, 3*pi/2, rgbcolor="red",plot_points=1000) #long 
     1294            sage: p.show(gridlines=( [-3,-2.75,..,3], xrange(-1,5,2) )) #long 
    12951295 
    12961296        Add grid lines at specific positions (using functions). 
    12971297            sage: y = x^5 + 4*x^4 - 10*x^3 - 40*x^2 + 9*x + 36 
     
    47604760        sage: x = var('x') 
    47614761        sage: f = sin(1/x) 
    47624762        sage: n1 = len(adaptive_refinement(f, (0,0), (pi,0), adaptive_tolerance=0.01)); n1 
    4763         79 
     4763        15 
    47644764        sage: n2 = len(adaptive_refinement(f, (0,0), (pi,0), adaptive_recursion=5, adaptive_tolerance=0.01)); n2 
    47654765        15 
    47664766        sage: n3 = len(adaptive_refinement(f, (0,0), (pi,0), adaptive_tolerance=0.005)); n3 
    4767         88 
     4767        16 
    47684768    """ 
    47694769    if level >= adaptive_recursion: 
    47704770        return []