On Sun, Apr 12, 2009 at 6:09 PM, Reinier Heeres <rein...@heeres.eu> wrote: > Hi, > > It took me a while to get this done, but I managed to make mplot3d > working with svn trunk again!
Hmm, this does not seem to be against svn HEAD on the trunk. I cloned your repo with > git clone http://qtwork.nano.tudelft.nl/public_git/users/rwh/mplot3d but am getting some errors with mpl svn HEAD. For example, jo...@flag:mplot3d> python demo.py Traceback (most recent call last): File "demo.py", line 23, in ? line, = ax.plot3d([0.2,1.8, 2.5], [0.2,.5,3.7], [0,.5,.2], 'ro') File "/home/flag/johnh/tmp/mplot3d/axes3d.py", line 528, in plot3D lines = Axes.plot(self, xs,ys, *args, **kwargs) File "/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/axes.py", line 3357, in plot self.autoscale_view(scalex=scalex, scaley=scaley) File "/home/flag/johnh/tmp/mplot3d/axes3d.py", line 228, in autoscale_view if not self._autoscaleon: return AttributeError: 'Axes3DI' object has no attribute '_autoscaleon' And when I fix that (use self.get_autoscale_on()), I get the error I referred you to earlier in this thread about the deprecated TextWithDash jo...@flag:mplot3d> python demo.py Traceback (most recent call last): File "demo.py", line 33, in ? plt.draw() File "/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/pyplot.py", line 350, in draw get_current_fig_manager().canvas.draw() File "/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/backends/backend_tkagg.py", line 215, in draw FigureCanvasAgg.draw(self) File "/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/backends/backend_agg.py", line 283, in draw self.figure.draw(self.renderer) File "/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/figure.py", line 773, in draw for a in self.axes: a.draw(renderer) File "/home/flag/johnh/tmp/mplot3d/axes3d.py", line 181, in draw self.w_xaxis.draw(renderer) File "/home/flag/johnh/tmp/mplot3d/axis3d.py", line 410, in draw tick_update_position(tick, x,y,z, angle=angle) File "/home/flag/johnh/tmp/mplot3d/axis3d.py", line 102, in tick_update_position tick.label1.set_dashlength(8) AttributeError: 'Text' object has no attribute 'set_dashlength' Have you committed your latest? JDH ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel