From: Benjamin R. <ben...@ou...> - 2011-09-07 20:35:54
|
On Wed, Sep 7, 2011 at 3:13 PM, Matthew Koichi Grimes <mk...@cs...>wrote: > Thanks Ben, I for one would be very interested in any workarounds you might > find that don't require an upgrade from 1.0.1. > > -- Matt > > Ok, looks like the hiding of the 3d axes was a feature added after the v1.0 release (but before I started working on mplot3d). This patch should enable the basic feature without interfering with existing functions. To hide the axes, you would have to set the private member "_axis3don" to False, like so: ax = plt.gca(projection='3d') ax._axis3don = False If you do it this way, then you will get what you want now, and your code will still be compatible with mplot3d when you upgrade (although the preferred method would be to call set_axis_on() or set_axis_off()). I hope that helps! Ben Root |