Ok, so you do see that the 3d image is not clipped when panning? I believe this is an issue with the backend’s interface with mplot3d’s special axes, and it is certainly not trivial. Until such issue is resolved, it is probably best to continue disabling the pan feature.
By the way, subplotting 3d figures is a new feature made available in version 1.0. It is very easy. While you still have to use the same import command as before, you can now create a subplot axes of type 3d by doing:
fig = plt.figure()
ax = fig.add_subplot(1, 1, 1, projection=‘3d’)
As for the issue with the MacOSX backend, you might need to file a separate trouble ticket for that.
Thank you for helping to improve matplotlib!
On Thu, Oct 7, 2010 at 10:19 AM, braingram <braingram720@…552…149…> wrote:
Thanks for catching that! I added the changes to mouse_init and
improved the panning so it works more consistently at different ‘zoom’
levels and attached an updated patch.
I tried to sort out the clipping issue you mentioned but failed to
wrap my head around how to clip the 3d data. It looks like (at least
in the svn trunk) there is no clipping of the 3d data (I tried
panning, zooming, and changing the axis limits and saw no clipping).
I’m also unsure how to make 3d subplots. I might just be too lost to
fix this one but if I make any progress I’ll pass it along.