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
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 with
I've traced this back to revision 7867:
http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/branches/v0_99_maint/lib/matplotlib/axes.py?r1=7867r2=7866pathrev=7867
http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/branches/v0_99_maint/lib/matplotlib/axes.py?r1=7867r2=7866pathrev=7867
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