The matplotlib version check seems to fail with matplotlib 1.0.0. Would you consider applying the attached patch?

Mike

On 06/21/2010 09:19 AM, Simon Ratcliffe wrote:
Hello,

Our HTML5 based matplotlib backend is now available at:

http://code.google.com/p/mplh5canvas/

There are some basic installation instructions and included examples
to get going. Keep in mind that the weakest link at this stage is
browser support.

We recommend Chrome for the most hassle free experience.

This is very much a beta release and has not seen action outside of
our internal testing, so we expect some teething troubles :)

Please let us know what works for you, and what doesn't, and we will
try and fix things as they come up.

Cheers,

Simon and Ludwig

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


--
Michael Droettboom
Science Software Branch
Space Telescope Science Institute
Baltimore, Maryland, USA

Index: setup.py
===================================================================
--- setup.py	(revision 7)
+++ setup.py	(working copy)
@@ -3,7 +3,7 @@
 from matplotlib import __version__
 import sys
 
-if not int(__version__.split(".")[1]) > 98:
+if tuple([int(x) for x in __version__.split(".")[:3]]) < (0, 99, 1):
    print "The HTML 5 Canvas Backend requires matplotlib 0.99.1.1 or newer. Your version (%s) appears older than this. Unable to continue..." % __version__
    sys.exit(0)
 
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to