Re: [Matplotlib-users] Axes3d.mouse_init(), facing problems when embedding matplotlib 3d-projection into PyQt5 App

2015-04-28 Thread Christian Ambros
 Since there seems to be no progress with this issue, may I assume there isn't any interest in it?I took a further look around in the internet but couldn't any solution.It leads to an other question: How many users of matplotlib are using 3d-plots anyway? It we are just a few and there won't be

Re: [Matplotlib-users] Axes3d.mouse_init(), facing problems when embedding matplotlib 3d-projection into PyQt5 App

2015-04-28 Thread Benjamin Root
I think there is something wrong with the embedding code rather than there being an actual bug. I have embedded mplot3d stuff before (admittedly, not in qt5) with no problems. I haven't had the time yet to examine your code to see what the potential issue is, though. I have also never used Qt desig

Re: [Matplotlib-users] Axes3d.mouse_init(), facing problems when embedding matplotlib 3d-projection into PyQt5 App

2015-04-28 Thread Christian Ambros
Hi Benjamin, I would do that if my task were my private stuff, but in this case it's work-related and my boss wants me to use the designer and he already set a deadline, which, I already knew, is set to tight. I told him before, that it would be just a try but he sold it to his boss after some p

Re: [Matplotlib-users] Axes3d.mouse_init(), facing problems when embedding matplotlib 3d-projection into PyQt5 App

2015-04-28 Thread Benjamin Root
One thing I see off the bat is your addmpl() method: ``` def addmpl(self, fig): #FigureCanvas.__init__(self, fig) self.canvas = FigureCanvas(fig) Axes3D.mouse_init(self, rotate_btn=1, zoom_btn=2) self.mplvl.addWidget(self.canvas) self.canvas.draw()