#5956: image dimensions for show() are in inches
--------------------------------------------------------------------------+-
       Reporter:  mvngu                                                   |     
    Owner:  was                                       
           Type:  defect                                                  |     
   Status:  needs_work                                
       Priority:  minor                                                   |     
Milestone:  sage-5.9                                  
      Component:  graphics                                                |    
Resolution:                                            
       Keywords:  image dimensions, figsize, beginner                     |   
Work issues:                                            
Report Upstream:  None of the above - read trac for reasoning.            |     
Reviewers:  Karl-Dieter Crisman, Punarbasu Purkayastha
        Authors:  Emily Chen, Punarbasu Purkayastha, Karl-Dieter Crisman  |     
Merged in:                                            
   Dependencies:                                                          |     
 Stopgaps:                                            
--------------------------------------------------------------------------+-

Comment (by jdemeyer):

 Replying to [comment:20 kcrisman]:
 > > Assertions are meant to check internal consistency inside algorithms.
 They express "I ''know'' this condition is true", not "I want to ''check''
 that this condition is true".
 > Okay, fair enough.  The problem is that now I have to go remember how to
 check that something is a numeric type as well

 Just convert, for example
 {{{
 x = float(x)
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5956#comment:21>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to