Re: [Matplotlib-users] Axes3D rotation not working when embedded in backend

2010-02-08 Thread Ben Axelrod
appropriate for this? Thanks, -Ben -Original Message- From: Ben Axelrod [mailto:baxel...@coroware.com] Sent: Saturday, February 06, 2010 5:55 PM To: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] Axes3D rotation not working when embedded in backend I looked into

Re: [Matplotlib-users] Axes3D rotation not working when embedded in backend

2010-02-06 Thread Ben Axelrod
I looked into this issue a little bit and found that the FigureCanvas must be set on the Figure before the 3D axes is instantiated. A simple re-ordering of the lines in the code below makes mouse rotation work again. # ... self.figure = Figure() self.canvas = FigureCanvas(self, -1, self.figure)