Gellule Xg wrote: >>> This is a bug report for matplotlib version 0.99.1.1 >>> >>> The clip_path keyword of imshow() does not work when setting it to >>> (Path, Transform) for two reasons: >>> >> Hi, Thanks for the report. Do you have a simple test script that we can >> use to see the problem and then fix it? We will then use this as the >> basis to create a test function to make sure the issue never "crops" up >> again. >> >> -Andrew >> > > Hi Andrew, > Please try the following. It's a script that clips an NxN image based on > its contour. > Thanks, > -Julien > Hi Julien,
I made a couple fixes to MPL 0.99 maintenance branch and then added a modified version your example in the tests. See http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/lib/matplotlib/tests/test_axes.py?r1=7870&r2=7869&pathrev=7870 You should be able to use this approach to do what you were originally after. My actual fixes to MPL were in r7866 and r7867. I had to take a slightly different approach than your suggestion. The approach I implemented based on your initial patch doesn't access private variables or change the way calling setters methods works. -Andrew ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel