#5438: Incorrect documentation and/or functionality in plot filling
----------------------+-----------------------------------------------------
 Reporter:  kcrisman  |       Owner:  kcrisman  
     Type:  defect    |      Status:  assigned  
 Priority:  minor     |   Milestone:  sage-3.4.1
Component:  graphics  |    Keywords:  plot fill 
----------------------+-----------------------------------------------------
Changes (by kcrisman):

  * owner:  was => kcrisman
  * status:  new => assigned


Comment:

 Problem is that the first check in fill is for
 {{{
             if fill == 'axis' or fill == True:
 }}}
 and we have
 {{{
 sage: preparse('5==True')
 'Integer(5)==True'
 sage: 5==True
 True
 }}}
 A change to
 {{{
             if fill == 'axis' or fill is True:
 }}}
 solves the problem, and then improving doc is easy.  I should be able to
 do this within a day or two.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5438#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
-~----------~----~----~----~------~----~------~--~---

Reply via email to