Re: [Matplotlib-users] Bug in contourf or BoundaryNorm?

2014-03-28 Thread Jesper Larsen
Hi Ian Thanks for your reply and help. I see your point. I guess it is only the BoundaryNorm where it would make sense to have contourf use the boundary levels from the norm. In my real problem described by the above example I have long forgotten the levs variable when I arrive at the contourf poi

Re: [Matplotlib-users] Conflict matplotlib ctypes

2014-03-28 Thread Jorge Ferrando
By the way.. don't know if it's important but I'm running that under OSX Mavericks 10.9.2 On Fri, Mar 28, 2014 at 8:40 PM, Jorge Ferrando wrote: > Hi Sterling. > > Sorry, the line is this: > > asfdll = loadLibrary('libAPI.dylib') > > > On Fri, Mar 28, 2014 at 8:38 PM, Sterling Smith wrote: > >>

Re: [Matplotlib-users] Conflict matplotlib ctypes

2014-03-28 Thread Sterling Smith
You forgot to add the line that causes the problems. You might want to give a minimum self contained working example. -Sterling On Mar 28, 2014, at 12:20PM, Jorge Ferrando wrote: > Hello > > I'm workign on a project where we are using ctypes and I wanted to plot some > data with matplotlib. >

Re: [Matplotlib-users] Conflict matplotlib ctypes

2014-03-28 Thread Jorge Ferrando
Hi Sterling. Sorry, the line is this: asfdll = loadLibrary('libAPI.dylib') On Fri, Mar 28, 2014 at 8:38 PM, Sterling Smith wrote: > You forgot to add the line that causes the problems. > > You might want to give a minimum self contained working example. > > -Sterling > > On Mar 28, 2014, at 12

[Matplotlib-users] Conflict matplotlib ctypes

2014-03-28 Thread Jorge Ferrando
Hello I'm workign on a project where we are using ctypes and I wanted to plot some data with matplotlib. Everything is running fine, but as soon as I add this line: The project crashes with this error: File "./myfile.py", line 117, in loadLibrary return cdll.LoadLibrary(library) F

[Matplotlib-users] pure Qt data visualization (not open source)

2014-03-28 Thread Pierre Haessig
Hi, I just ran across this new Qt "add-on" for data visualization : blog.qt.digia.com/blog/2014/03/26/qt-data-visualization-1-0-released/ It's a bit off-topic because I think there is not (yet?) a Python binding, but there is a demo video which is worth taking a look at. The video doesn't mention

Re: [Matplotlib-users] Bug in contourf or BoundaryNorm?

2014-03-28 Thread Ian Thomas
On 28 March 2014 12:56, Jesper Larsen wrote: > I believe the normalization behaviour is wrong for contourf at least when > using a BoundaryNorm. In the script below I am using the same norm to plot > the same data using contourf and pcolormesh. The color should change around > an x value of 0.15

[Matplotlib-users] Bug in contourf or BoundaryNorm?

2014-03-28 Thread Jesper Larsen
Hi matplotlib users, I believe the normalization behaviour is wrong for contourf at least when using a BoundaryNorm. In the script below I am using the same norm to plot the same data using contourf and pcolormesh. The color should change around an x value of 0.15 but it is shifted somewhat for co