#9221: update matplotlib to 1.0.0 and clean out the patches
---------------------------+------------------------------------------------
Reporter: jason | Owner: jason, was
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.6
Component: graphics | Keywords:
Author: Jason Grout | Upstream: Reported upstream. Developers
acknowledge bug.
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Changes (by jason):
* status: needs_work => needs_review
Comment:
Okay, I've updated the spkg so that it works on t2 (and passes all
matplotlib tests):
http://sage.math.washington.edu/home/jason/matplotlib-1.0.0.spkg
Can people try it? Basically, I just deleted in CXX/WrapPython.h any
fudging with the defines, based on drkirkby's idea above that it ought not
have to do that. The new WrapPython.h is:
{{{
#ifndef __PyCXX_wrap_python_hxx__
#define __PyCXX_wrap_python_hxx__
// On some platforms we have to include time.h to get select defined
#if !defined(__WIN32__) && !defined(WIN32) && !defined(_WIN32) &&
!defined(_WIN64)
#include <sys/time.h>
#endif
// pull in python definitions
#include <Python.h>
#endif
}}}
Here it passes the matplotlib test suite:
{{{
In [1]: import matplotlib
In [2]: matplotlib.__version__
Out[2]: '1.0.0'
In [3]: matplotlib.test()
/scratch/grout/sage-4.5.3/local/lib/python2.6/site-
packages/matplotlib/axes.py:2369: UserWarning: Attempting to set identical
left==right results
in singular transformations; automatically expanding.
left=730139.0, right=730139.0
+ 'left=%s, right=%s') % (left, right))
----------------------------------------------------------------------
Ran 138 tests in 755.419s
OK (KNOWNFAIL=42)
Out[3]: True
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9221#comment:30>
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.