#13732: Fix alpha in disk() graphics object so that we can save PDF's
------------------------------------------------+---------------------------
       Reporter:  john_perry                    |         Owner:  jason, was    
     
           Type:  defect                        |        Status:  closed        
     
       Priority:  trivial                       |     Milestone:  sage-5.8      
     
      Component:  graphics                      |    Resolution:  fixed         
     
       Keywords:  PDF, matplotlib, save, alpha  |   Work issues:                
     
Report Upstream:  N/A                           |     Reviewers:  Karl-Dieter 
Crisman
        Authors:  John Perry                    |     Merged in:  
sage-5.8.beta0     
   Dependencies:                                |      Stopgaps:                
     
------------------------------------------------+---------------------------

Comment (by zimmerma):

 I get the same error in Sage 5.9 with:
 {{{
 sage: f = lambda x, y : (abs(cos((x + I * y) ** 4)) - 1)
 sage: g2 = implicit_plot(f,(-4, 4),(-3, 3),linewidth=0.6)
 sage: g2.save('/tmp/cosz4_2.pdf')
 TypeError: Don't know a PDF representation for <type
 'sage.rings.real_mpfr.RealLiteral'> objects.
 }}}
 Replacing {{{0.6}}} by {{{float(0.6)}}} solves the problem. Should I
 reopen or open a new ticket?

 Paul

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