#5606: [with patch, needs work] color complex plotting
----------------------+-----------------------------------------------------
Reporter: robertwb | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-3.4.2
Component: graphics | Keywords:
----------------------+-----------------------------------------------------
Changes (by mabshoff):
* milestone: sage-3.4.1 => sage-3.4.2
Comment:
Hmm, there are also the following two doctest failures:
{{{
sage -t -long devel/sage/sage/plot/complex_plot.pyx
**********************************************************************
File "/scratch/mabshoff/sage-3.4.1.rc2/devel/sage-
main/sage/plot/complex_plot.pyx", line 146:
sage: p = complex_plot(x^2-1, (-2, 2), (-2, 2))
Expected nothing
Got:
doctest:325: DeprecationWarning: Substitution using function-call
syntax and unnamed arguments is deprecated and will be removed from a
future release of Sage; you can use named arguments instead, like
EXPR(x=..., y=...)
doctest:5554: DeprecationWarning: Substitution using function-call
syntax and unnamed arguments is deprecated and will be removed from a
future release of Sage; you can use named arguments instead, like
EXPR(x=..., y=...)
doctest:5545: DeprecationWarning: Substitution using function-call
syntax and unnamed arguments is deprecated and will be removed from a
future release of Sage; you can use named arguments instead, like
EXPR(x=..., y=...)
**********************************************************************
File "/scratch/mabshoff/sage-3.4.1.rc2/devel/sage-
main/sage/plot/complex_plot.pyx", line 162:
sage: p.get_minmax_data()
Expected:
{'xmax': 2.0, 'xmin': -1.0, 'ymax': 4.0, 'ymin': -3.0}
Got:
{'xmin': -1.0, 'ymin': -3.0, 'ymax': 4.0, 'xmax': 2.0}
**********************************************************************
}}}
The first one is trivial to fix by adding the variables to the plot
ranges, the second one is caused by the dictionary being printing
differently, so it might be a good idea to print the minmax_data as a list
in a consistent format.
I am bumping this ticket to 3.4.2 - if it is fixed it can still go into
3.4.1.
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5606#comment:7>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---