[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

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

2014-03-28 Thread Ian Thomas
On 28 March 2014 12:56, Jesper Larsen jesper.webm...@gmail.com 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

[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] 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] 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