#7008: [with patch, needs work] consolidate in plotting all extraction of
variables, ranges, and fast_float setup
---------------------------------+------------------------------------------
Reporter: jason | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-4.1.2
Component: graphics | Keywords:
Reviewer: Karl-Dieter Crisman | Author: Jason Grout
Merged: |
---------------------------------+------------------------------------------
Comment(by mvngu):
I'm getting the following doctest failures, all of which are deprecation
warnings:
{{{
sage -t -long devel/sage/doc/en/tutorial/tour_plotting.rst
**********************************************************************
File "/scratch/mvngu/release/sage-4.1.2.alpha2/devel/sage-
main/doc/en/tutorial/tour_plotting.rst", line 176:
sage: implicit_plot3d(x^2 + y^2 + z^2 - 4, (-2, 2), (-2, 2), (-2, 2))
Expected nothing
Got:
doctest:245: DeprecationWarning: Unnamed ranges for more than one
variable is deprecated and will be removed from a future release of Sage;
you can used named ranges instead, like (x,0,2)
<BLANKLINE>
**********************************************************************
File "/scratch/mvngu/release/sage-4.1.2.alpha2/devel/sage-
main/doc/en/tutorial/tour_plotting.rst", line 74:
sage: parametric_plot((cos(x),sin(x)^3),0,2*pi,rgbcolor=hue(0.6))
Expected nothing
Got:
doctest:1: DeprecationWarning: variable ranges to parametric_plot must
be given as tuples, like (2,4) or (t,2,3)
<BLANKLINE>
**********************************************************************
File "/scratch/mvngu/release/sage-4.1.2.alpha2/devel/sage-
main/doc/en/tutorial/tour_plotting.rst", line 81:
sage: p1 = parametric_plot((cos(x),sin(x)),0,2*pi,rgbcolor=hue(0.2))
Expected nothing
Got:
doctest:1: DeprecationWarning: variable ranges to parametric_plot must
be given as tuples, like (2,4) or (t,2,3)
**********************************************************************
3 items had failures:
1 of 4 in __main__.example_13
1 of 4 in __main__.example_4
1 of 7 in __main__.example_5
***Test Failed*** 3 failures.
For whitespace errors, see the file
/home/mvngu/.sage//tmp/.doctest_tour_plotting.py
[10.1 s]
<SNIP>
sage -t -long devel/sage/doc/fr/tutorial/tour_plotting.rst
**********************************************************************
File "/scratch/mvngu/release/sage-4.1.2.alpha2/devel/sage-
main/doc/fr/tutorial/tour_plotting.rst", line 75:
sage: parametric_plot((cos(x),sin(x)^3),0,2*pi,rgbcolor=hue(0.6))
Expected nothing
Got:
doctest:1: DeprecationWarning: variable ranges to parametric_plot must
be given as tuples, like (2,4) or (t,2,3)
<BLANKLINE>
**********************************************************************
File "/scratch/mvngu/release/sage-4.1.2.alpha2/devel/sage-
main/doc/fr/tutorial/tour_plotting.rst", line 82:
sage: p1 = parametric_plot((cos(x),sin(x)),0,2*pi,rgbcolor=hue(0.2))
Expected nothing
Got:
doctest:1: DeprecationWarning: variable ranges to parametric_plot must
be given as tuples, like (2,4) or (t,2,3)
**********************************************************************
2 items had failures:
1 of 4 in __main__.example_4
1 of 7 in __main__.example_5
***Test Failed*** 2 failures.
For whitespace errors, see the file
/home/mvngu/.sage//tmp/.doctest_tour_plotting.py
[8.0 s]
<SNIP>
sage -t -long devel/sage/sage/calculus/desolvers.py
**********************************************************************
File "/scratch/mvngu/release/sage-4.1.2.alpha2/devel/sage-
main/sage/calculus/desolvers.py", line 235:
sage: parametric_plot((solnx,solny),0,1)
Expected nothing
Got:
doctest:1: DeprecationWarning: variable ranges to parametric_plot must
be given as tuples, like (2,4) or (t,2,3)
<BLANKLINE>
**********************************************************************
File "/scratch/mvngu/release/sage-4.1.2.alpha2/devel/sage-
main/sage/calculus/desolvers.py", line 307:
sage: P2 = parametric_plot((solnx,solny),0,1)
Expected nothing
Got:
doctest:1: DeprecationWarning: variable ranges to parametric_plot must
be given as tuples, like (2,4) or (t,2,3)
**********************************************************************
2 items had failures:
1 of 12 in __main__.example_4
1 of 17 in __main__.example_5
***Test Failed*** 2 failures.
For whitespace errors, see the file
/home/mvngu/.sage//tmp/.doctest_desolvers.py
[6.2 s]
<SNIP>
sage -t -long devel/sage/doc/en/tutorial/tour_algebra.rst
**********************************************************************
File "/scratch/mvngu/release/sage-4.1.2.alpha2/devel/sage-
main/doc/en/tutorial/tour_algebra.rst", line 263:
sage: P = parametric_plot((cos(2*t) + 2*cos(t), 4*cos(t) - cos(2*t) ),
0, 2*pi, rgbcolor=hue(0.9))
Expected nothing
Got:
doctest:1: DeprecationWarning: variable ranges to parametric_plot must
be given as tuples, like (2,4) or (t,2,3)
**********************************************************************
1 items had failures:
1 of 5 in __main__.example_15
***Test Failed*** 1 failures.
For whitespace errors, see the file
/home/mvngu/.sage//tmp/.doctest_tour_algebra.py
[5.8 s]
<SNIP>
sage -t -long devel/sage/doc/fr/tutorial/tour_algebra.rst
**********************************************************************
File "/scratch/mvngu/release/sage-4.1.2.alpha2/devel/sage-
main/doc/fr/tutorial/tour_algebra.rst", line 242:
sage: P = parametric_plot((cos(2*t) + 2*cos(t), 4*cos(t) - cos(2*t) ),
0, 2*pi, rgbcolor=hue(0.9))
Expected nothing
Got:
doctest:1: DeprecationWarning: variable ranges to parametric_plot must
be given as tuples, like (2,4) or (t,2,3)
**********************************************************************
1 items had failures:
1 of 5 in __main__.example_15
***Test Failed*** 1 failures.
For whitespace errors, see the file
/home/mvngu/.sage//tmp/.doctest_tour_algebra.py
[5.7 s]
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7008#comment:8>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---