Re: [Matplotlib-users] open ascii grid data and plot

2012-03-07 Thread questions anon
Hi all, I am still having a problem with the same code. I am not sure if maybe the problem is how I read the data in as numpy.genfromtxt Is there a step I need to take to convert the data to numpy array to then read into matplotlib? Thanks On Fri, Mar 2, 2012 at 11:49 AM, questions anon wrote: >

Re: [Matplotlib-users] Has nxutils been removed from mpl?

2012-03-07 Thread Benjamin Root
On Wed, Mar 7, 2012 at 12:44 PM, Michael Droettboom wrote: > On 03/07/2012 01:39 PM, John Hunter wrote: > > > > On Wed, Mar 7, 2012 at 12:31 PM, Michael Droettboom wrote: > >> I agree that the deprecation process should have been followed better. >> However, I'm not sure what you mean by them b

Re: [Matplotlib-users] custom markers from images?

2012-03-07 Thread Michael Droettboom
It would be a nice idea. I'm not sure it's something that would work terribly well in vector backends as the images may not scale well. I should mention that there is already support to use arbitrary Unicode characters or math expressions as markers already, which does work well in vector bac

Re: [Matplotlib-users] Bug (?) in version 1.1.0 (Can't set Attribute)

2012-03-07 Thread Eric Firing
On 03/07/2012 04:51 AM, Giovanni Plantageneto wrote: > Dear all, > after upgrading to 1.1.0 on my linux machine (from debian-backports), I > get an error (Can't set Attribute) with code looking like this: > > from pylab import figure > F=figure() > F.axes=[] > > Why is this so? Incidentally, going

Re: [Matplotlib-users] custom markers from images?

2012-03-07 Thread C M
I've for now taken a different approach that means I won't need custom markers from images. But I'm just curious: is there any wish/plans in Matplotlib to add support for this? I think it could do a lot to expand what's possible in terms of the look and feel of plots (even without things drifing

Re: [Matplotlib-users] Has nxutils been removed from mpl?

2012-03-07 Thread Michael Droettboom
On 03/07/2012 01:39 PM, John Hunter wrote: On Wed, Mar 7, 2012 at 12:31 PM, Michael Droettboom > wrote: I agree that the deprecation process should have been followed better. However, I'm not sure what you mean by them being faster than their Pyhton counte

Re: [Matplotlib-users] Has nxutils been removed from mpl?

2012-03-07 Thread John Hunter
On Wed, Mar 7, 2012 at 12:31 PM, Michael Droettboom wrote: > I agree that the deprecation process should have been followed better. > However, I'm not sure what you mean by them being faster than their Pyhton > counterparts. Both functions in nxutils are replaced by functions in > _path.cpp, whi

Re: [Matplotlib-users] Has nxutils been removed from mpl?

2012-03-07 Thread Michael Droettboom
On 03/07/2012 11:59 AM, Benjamin Root wrote: On Wed, Mar 7, 2012 at 10:46 AM, Jorge Scandaliaris mailto:jorgesmbox...@yahoo.es>> wrote: Hi, I've had an import error with some of my code, specifically with nxutils (I need it for using points_inside_poly). In [1]: import m

Re: [Matplotlib-users] Has nxutils been removed from mpl?

2012-03-07 Thread Benjamin Root
On Wed, Mar 7, 2012 at 11:31 AM, Jorge Scandaliaris wrote: > Benjamin Root writes: > > > > < snip > > > > > import matplotlib > > print matplotlib.__version__ > > print matplotlib.__file__ > > > > Ben Root > > > > > > You're right, 1.1 still has nxutils. What are the python counterparts you > men

Re: [Matplotlib-users] Has nxutils been removed from mpl?

2012-03-07 Thread Jorge Scandaliaris
Benjamin Root writes: > < snip > > > import matplotlib > print matplotlib.__version__ > print matplotlib.__file__ > > Ben Root > > You're right, 1.1 still has nxutils. What are the python counterparts you mention, are they in mpl? Thanks, Jorge

Re: [Matplotlib-users] Has nxutils been removed from mpl?

2012-03-07 Thread Benjamin Root
On Wed, Mar 7, 2012 at 10:46 AM, Jorge Scandaliaris wrote: > Hi, > I've had an import error with some of my code, specifically with nxutils > (I need > it for using points_inside_poly). > > In [1]: import matplotlib.nxutils as nx > --

[Matplotlib-users] Has nxutils been removed from mpl?

2012-03-07 Thread Jorge Scandaliaris
Hi, I've had an import error with some of my code, specifically with nxutils (I need it for using points_inside_poly). In [1]: import matplotlib.nxutils as nx --- ImportError Traceback (most rece

[Matplotlib-users] Bug (?) in version 1.1.0 (Can't set Attribute)

2012-03-07 Thread Giovanni Plantageneto
Dear all, after upgrading to 1.1.0 on my linux machine (from debian-backports), I get an error (Can't set Attribute) with code looking like this: from pylab import figure F=figure() F.axes=[] Why is this so? Incidentally, going back to the previous available version (0.99.3) solves the problem. C

Re: [Matplotlib-users] problems installaling matplotlib on ubuntu 11.10

2012-03-07 Thread avalle
> Perhaps you should post that question for the numpy mailing list? Thanks, I will try that. I have no clues Cheers, Lucia > On Mon, Mar 5, 2012 at 1:47 PM, wrote: > >> > On Feb 23, 2012 1:39 PM, wrote: >> >> >> >> should I reinstall numpy? >> > >> > No need. You should be able to build matplot

Re: [Matplotlib-users] histogram and a line

2012-03-07 Thread Jerzy Karczmarczuk
Mic: Hello, I am able to draw a histogram with the following code: /.../ /h.hist(hist_data, bins=50, normed=True)/ However, I don't know how to draw a line for median at 249 position like in attachment. Are your axes really matplotlib axes? (I have doubts, since the vertical is not normed, al