#5780: [with patch; needs review] plotting -- deal with NaN's in plot range
----------------------+-----------------------------------------------------
Reporter: was | Owner: was
Type: defect | Status: new
Priority: blocker | Milestone: sage-3.4.1
Component: graphics | Keywords:
----------------------+-----------------------------------------------------
Comment(by mabshoff):
I like this patch, but there is a slight doctesting issue:
{{{
bash-3.00$ ./sage -t -long devel/sage/sage/coding/code_bounds.py
sage -t -long "devel/sage/sage/coding/code_bounds.py"
**********************************************************************
File "/home/mabshoff/build-3.4.1.rc2/sage-3.4.1.rc2-fulvia-
gcc-4.3.3/devel/sage/sage/coding/code_bounds.py", line 383:
sage: plot(f,0,1)
Expected nothing
Got:
verbose 0 (1365: plot.py, get_minmax_data) ymin was NaN (setting to 0)
verbose 0 (1365: plot.py, get_minmax_data) ymax was NaN (setting to 0)
<BLANKLINE>
**********************************************************************
File "/home/mabshoff/build-3.4.1.rc2/sage-3.4.1.rc2-fulvia-
gcc-4.3.3/devel/sage/sage/coding/code_bounds.py", line 395:
sage: plot(f,0,1)
Expected nothing
Got:
verbose 0 (1365: plot.py, get_minmax_data) ymin was NaN (setting to 0)
verbose 0 (1365: plot.py, get_minmax_data) ymax was NaN (setting to 0)
<BLANKLINE>
**********************************************************************
}}}
This is on Solaris and #5779 which RobertWB should have a patch for
tonight might then fix the problem.
Another possibility would be to set verbosity to -1 for this particular
doctest, but I would like to avoid that. Positive review for the fix, but
I will wait to change the subject once we have dealt with the verbosity.
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5780#comment:1>
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
-~----------~----~----~----~------~----~------~--~---