#5836: pwith patch, needs work] Make show() immediately show an image in the
notebook
-------------------------+--------------------------------------------------
Reporter: jason | Owner: was
Type: enhancement | Status: new
Priority: major | Milestone: sage-3.4.2
Component: graphics | Keywords:
-------------------------+--------------------------------------------------
Comment(by was):
Despite rumors to the contrary, there are several hundred doctests in the
notebook directory, and your new code breaks two in cell.py, so post a
patch that fixes those doctest breaks:
{{{
sage -t devel/sage/sage/server/notebook/cell.py
**********************************************************************
File "/Users/wstein/build/sage-3.4.1.rc3/devel/sage-
main/sage/server/notebook/cell.py", line 1751:
sage: W.check_comp(wait=9999)
Expected:
('d', Cell 0; in=plot(sin(x),0,5), out=
<BLANKLINE>
)
Got:
('d', Cell 0; in=plot(sin(x),0,5), out=
<html><font color='black'><img src='cell://sage0.png'></font></html>
<BLANKLINE>
)
**********************************************************************
File "/Users/wstein/build/sage-3.4.1.rc3/devel/sage-
main/sage/server/notebook/cell.py", line 1777:
sage: W.check_comp(wait=9999)
Expected:
('d', Cell 0; in=plot(sin(x),0,5), out=
<BLANKLINE>
)
Got:
('d', Cell 0; in=plot(sin(x),0,5), out=
<html><font color='black'><img src='cell://sage0.png'></font></html>
<BLANKLINE>
)
**********************************************************************
2 items had failures:
1 of 10 in __main__.example_80
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5836#comment:3>
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
-~----------~----~----~----~------~----~------~--~---