nipy / nibabel

Python package to access a cacophony of neuro-imaging file formats
http://nipy.org/nibabel/
Other
654 stars 258 forks source link

OrthoSlicer3D interactions broken on mac #433

Open agramfort opened 8 years ago

agramfort commented 8 years ago

when playing with OrthoSlicer3D I observe that the interactions (clicking to change slices) does not work with osx backend (no reactions to click) and half broken when using qt backend (only 1 of the three slices responds to clicks)

can someone reproduce?

I am testing using matplotlib 1.4.3 and python 2.7

matthew-brett commented 8 years ago

Yup, I get the same effect on OSX backend, in matplotlib 1.4.3 and 1.5.1. I believe this is due to the fact that the OSX backend doesn't implement the relevant animation calls - see : https://github.com/matplotlib/matplotlib/issues/531

There's a new PR for matplotlib that just addressed this : https://github.com/matplotlib/matplotlib/pull/6178

matthew-brett commented 8 years ago

Yes, I get the same behavior for pyqt4 on homebrew at least. All works well for me with the TkAgg backend. @Eric89GXL - what backend were you testing on? Do you get the same problems as we do?

larsoner commented 8 years ago

Linux, qt backend. Oh OSX...

matthew-brett commented 8 years ago

More investigation : only one window updating for qt4, matplotlib 1.4.3 or 1.5.1, Python 2.7. Seems to work correctly for qt5, matplotlib 1.4.3 or 1.5.1, Python 3.5.

larsoner commented 8 years ago

@matthew-brett last time I checked it worked fine over here.

agramfort commented 8 years ago

I also see only one window updating for qt4

matthew-brett commented 8 years ago

Alex - what do you get with qt4 if you use IPython and start with %matplotib qt ?

https://github.com/matplotlib/matplotlib/issues/5517

agramfort commented 8 years ago

I see only one image reacting

effigies commented 4 years ago

Hi all, is this still a problem for anybody? Using the latest OSX, I was able to run img.orthoview() and move around quite easily.