I'm using the approach shown in the following questions for embedding an Axes3D in a PyQt4 widget:
When starting the application, I can not rotate the axes via mouse movement anymore. What do I need to do to enable the rotation again?
Any time you call something like Axes3D.clear()
, then to enable mouse rotation again you have to call Axes3D.mouse_init()
.
Seems to be undocumented, but it works for me! Source