[Matplotlib-users] Import bug for numpy >= 2.0

2010-02-14 Thread Charles R Harris
Lines 147-151 of __init__ need to be changed to import numpy nn = numpy.__version__.split('.') if not (int(nn[0]) > 1 or int(nn[0]) == 1 and int(nn[1]) >= 1): raise ImportError( 'numpy 1.1 or later is required; you have %s' % numpy.__version__) Chuck --

Re: [Matplotlib-users] plotting using an image as background

2011-07-20 Thread Charles R Harris
Hi Robert, On Fri, Jul 15, 2011 at 9:49 AM, robert wrote: > Hi there, > I am all new to mathlib world.. > > What I try to do is plotting some charts over an image. > I would be very grateful, if somebody could provide me with an example. > thanks > robert > > I just did this myself with this cod