Re: [Matplotlib-users] imshow and projection axes

2010-07-26 Thread Tobias Winchen
Hi, thank you for your quick answers which pointed me to a solution: setting clip_on=False solves the problem: pylab.imshow(d, extent=(-pi,pi,-pi/2,pi/2), clip_on=False) However, for me it feels not very intuitive to write clip_on=False to activate the desired clipping. Tobias signature.

Re: [Matplotlib-users] imshow and projection axes

2010-07-23 Thread Michael Droettboom
I've traced this back to revision 7867: http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/branches/v0_99_maint/lib/matplotlib/axes.py?r1=7867&r2=7866&pathrev=7867

Re: [Matplotlib-users] imshow and projection axes

2010-07-23 Thread Andrew Straw
On 7/23/10 3:16 PM, Michael Droettboom wrote: I've traced this back to revision 7867: http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/branches/v0_99_maint/lib/matplotlib/axes.py?r1=7867&r2=7866&pathrev=7867

Re: [Matplotlib-users] imshow and projection axes

2010-07-23 Thread Michael Droettboom
BTW -- I think a possible fix may be to do: if not im.get_clip_path(): im.set_clip_path(self.patch) Mike On 07/23/2010 09:16 AM, Michael Droettboom wrote: I've traced this back to revision 7867: http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/branches/v0_99_maint/l

Re: [Matplotlib-users] imshow and projection axes

2010-07-23 Thread Tobias Winchen
Hi, > On Thursday 22 July 2010 Michael Droettboom wrote: > Which backend are you using? I tried this with GTKAgg and Qt4Agg, its was working with 0.99.0 and 0.99.1 on Debian/Squeeze and 0.99.0 on Scientific Linux 5. I first noticed this with 0.99.3 on Debian/Squeeze, but it is the same with wit

Re: [Matplotlib-users] imshow and projection axes

2010-07-22 Thread Michael Droettboom
Which backend are you using? Can you provide a short script that reproduces the bug? Mike On 07/22/2010 11:18 AM, Tobias Winchen wrote: Dear all, in matplotlib version 0.99.0 when drawing images with imshow into figures with hammer or aitoff axes the images are clipped to the axes. Now this

[Matplotlib-users] imshow and projection axes

2010-07-22 Thread Tobias Winchen
Dear all, in matplotlib version 0.99.0 when drawing images with imshow into figures with hammer or aitoff axes the images are clipped to the axes. Now this has changed in and the images are drawn also outside the axes (version 0.99.3) or not drawn at all (version 1.0.0). How can I clip them aga