#4604: Graphics() should work in 3d as a valid empty object
----------------------+-----------------------------------------------------
 Reporter:  mhampton  |       Owner:  was         
     Type:  defect    |      Status:  new         
 Priority:  minor     |   Milestone:  sage-3.2.1  
Component:  graphics  |    Keywords:  graphics, 3d
----------------------+-----------------------------------------------------
 From sage-support (and this has bugged me too):


 I'm not sure if this is a bug or just something I'm misunderstanding,
 but for 2D graphics I can write code like this.
 {{{
 g = Graphics()
 g += line( [ [-1,-1], [1,1] ] )
 g.show()
 }}}
 But in 3D if I do either
 {{{
 g = Graphics()
 g += sphere( (1,1,1), 2 )
 g.show()
 }}}
 or
 {{{
 g = sage.plot.plot3d.base.Graphics3dGroup()
 g += sphere( (1,1,1), 2 )
 g.show()
 }}}
 I get the error:
 {{{
 ValueError: min() arg is an empty sequence
 }}}

 Is there something I'm missing on how to create a graphics object and
 add 3D graphics to it like the way it's done in 2D?

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