#19556: upgrade matplotlib to 1.5.0
-------------------------------------+-------------------------------------
       Reporter:  fbissey            |        Owner:
           Type:  task               |       Status:  new
       Priority:  major              |    Milestone:  sage-6.10
      Component:  packages:          |   Resolution:
  standard                           |    Merged in:
       Keywords:                     |    Reviewers:
        Authors:  François Bissey    |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  b21be98e75eb044998b061e5f8da47ddf6a810a3
  u/fbissey/mpl-1.5.0                |     Stopgaps:
   Dependencies:  #17642             |
-------------------------------------+-------------------------------------

Comment (by fbissey):

 In `src/sage/plot/graphics.py` the deprecation warning is in the
 `add_primitive` method and more precisely `sage: G.add_primitive(A)` in
 {{{
 sage: G = Graphics()
             sage: from sage.plot.line import Line
             sage: from sage.plot.arrow import Arrow
             sage: L =
 
Line([3,4,2,7,-2],[1,2,e,4,5.],{'alpha':1,'thickness':2,'rgbcolor':(0,1,1),'legend_label':''})
             sage: A =
 
Arrow(2,-5,.1,.2,{'width':3,'head':0,'rgbcolor':(1,0,0),'linestyle':'dashed','zorder':8,'legend_label':''})
             sage: G.add_primitive(L)
             sage: G.add_primitive(A)
             sage: G
             doctest:...: DeprecationWarning: elementwise == comparison
 failed; this will raise an error in the future.
             Graphics object consisting of 2 graphics primitives
 }}}
 I am trying to narrow down the offending code.

--
Ticket URL: <http://trac.sagemath.org/ticket/19556#comment:5>
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to