Re: [matplotlib-devel] Affine Transformations on images

2011-07-14 Thread Martin Teichmann
Hello List, Hello Michael, Hello Jae-Joon, Michale wrote: > It looks like overriding "draw_unsampled_image" is the wrong thing to do > here, though. JJ wrote: > Overriding this behavior (which I guess is the case of you current ShearImage > implementation. Please correct me if I'm wrong) won't be

Re: [matplotlib-devel] Affine Transformations on images

2011-07-13 Thread Martin Teichmann
Dear List, dear Michael, > Looks good.  Does matplotlib still pass all regression tests with this > change? It does pass all regression tests that were passed with the git version I started with. (There were 10 failures which are still there). In the meantime, I also wrote a class that already u

[matplotlib-devel] Affine Transformations on images

2011-07-06 Thread Martin Teichmann
used in matplotlib. A patch is attached at the end of this post. Greetings Martin --- patch follows --- commit b7d0d23d90460ee790f1e94f387070a69be661c8 Author: Martin Teichmann Date: Wed Jul 6 14:04:44 2011 +0200 Make affine transformations work for i

Re: [matplotlib-devel] Problems with new PyQt4 API

2011-03-04 Thread Martin Teichmann
Hi Ben, Hi list, > Exactly.  That's all I found too.  Nothing indicates that we need to > change anything.  We are throwing away the second part of the tuple > which has the returned filter.  The only reason I see for the new > function is so the coder can get back the filter string, which we > do

Re: [matplotlib-devel] Problems with new PyQt4 API

2011-03-03 Thread Martin Teichmann
Hi Benjamin, Hi List, sorry for the backwards patch, here the forward one: --- backend_qt4_orig.py 2011-03-02 16:16:38.257797767 +0100 +++ backend_qt4.py 2011-03-02 16:17:19.526831397 +0100 @@ -395,8 +395,9 @@

[matplotlib-devel] Problems with new PyQt4 API

2011-03-02 Thread Martin Teichmann
Hi list, I'm using matplotlib as a library, in a program using the new APIs of PyQt4, which will be the normal APIs for Python 3. Unfortunately, the matplotlib Qt4 backend is not compatible with this new API. The problems are easy to fix: first QFileDialog.getSaveFileName has changed, and is to b

[matplotlib-devel] imshow remove

2009-10-01 Thread Martin Teichmann
Hello List, Normally, something added to axes in a plot can later be removed by saying element.remove(). All but images, for example plotted with imshow, since they lack a _remove_method. Is that a bug or a feature? Greetings Martin Teichmann

Re: [matplotlib-devel] Matplotlib-devel Digest, Vol 36, Issue 1

2009-05-06 Thread Martin Teichmann
that MSVCP71.dll should be distributed with any software that needs it. So, it should be shipped with matplotlib. Per request on the matplotlib website, I both filed a bug at sourceforge (ID: 2787740) as well as writing to this list. Greetings Martin Teic

[matplotlib-devel] Qt4 backend improvements

2008-01-27 Thread Martin Teichmann
Hi, Some months ago, I proposed some improvements of the Qt4 backend, especially using the Qt4 toolbar instead of writing our own hand-coded toolbar, amongst other detailed changes. I was told that was bad timing, as a new release was about to come out, and the project was in frozen. I promised t