#8125: problem with "text"
--------------------------+-------------------------------------------------
   Reporter:  jhpalmieri  |       Owner:  was                                   
     
       Type:  defect      |      Status:  new                                   
     
   Priority:  major       |   Milestone:  sage-4.3.2                            
     
  Component:  graphics    |    Keywords:                                        
     
     Author:              |    Upstream:  Not yet reported upstream; Will do 
shortly.
   Reviewer:              |      Merged:                                        
     
Work_issues:              |  
--------------------------+-------------------------------------------------
Changes (by jhpalmieri):

  * upstream:  N/A => Not yet reported upstream; Will do shortly.


Comment:

 This seems to be a bug in matplotlib; I just reported it to the
 matplotlib-devel mailing list, and I'll report any answers I get.

 Meanwhile, this arises in "real life" as follows:
 {{{
 sage: var("y R")
 sage: a(y,R) = pi * (2*R - y) * y
 sage: latex(a(y,R))
 {\left(2 \, R - y\right)} \pi y
 }}}
 Therefore
 {{{
 sage: lbl = text(r"$\int \  " + latex(a(y,R)) + "$",(3,20))
 }}}
 won't work with matplotlib.  Should we get rid of the "\," in the latex
 output?

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