Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] pynml-plotmorph: vispy: no mouse events #358

Open
Sietse20 opened this issue May 13, 2024 · 3 comments
Open

[Bug] pynml-plotmorph: vispy: no mouse events #358

Sietse20 opened this issue May 13, 2024 · 3 comments
Assignees
Labels
T: bug Type: bug

Comments

@Sietse20
Copy link

Describe the bug
When using the plot_interactive_3D function from pyneuroml.plot.PlotMorphologyVispy, the window that pops up contains a snapshot of the neuron that is not interactive. I can use the R button to rotate the 3D model, but any mouse input does not work.

To Reproduce
I used the following code to try and plot a neuroml file of choice:

from pyneuroml.plot.PlotMorphologyVispy import plot_interactive_3D
plot_interactive_3D("example.cell.nml")

Expected behavior
I expected an interactive window to pop up, in which I could use mouse movements to rotate and zoom into the 3D model of the neuron to investigate its morphology.

Observed behavior
Only the R button seemed to work in the interactive window. Any mouse movement did not result in an output.

System information:

  • OS: Windows 11
  • Python version: Python 3.11.9
  • Version of tools in use (pynml --help)
    Package Version

airspeed 0.6.0
asttokens 2.4.0
attrs 23.2.0
backcall 0.2.0
blosc2 2.6.2
cachetools 5.3.3
cattrs 23.2.3
colorama 0.4.6
comm 0.1.4
contourpy 1.2.1
cycler 0.12.1
debugpy 1.8.0
decorator 5.1.1
dill 0.3.8
dnspython 2.6.1
docstring_parser 0.16
executing 1.2.0
fonttools 4.51.0
freetype-py 2.4.0
graphviz 0.20.3
h5py 3.11.0
hsluv 5.0.4
ipykernel 6.25.2
ipython 8.15.0
jedi 0.19.0
jupyter_client 8.3.1
jupyter_core 5.3.1
kiwisolver 1.4.5
libNeuroML 0.5.8
lxml 5.2.2
matplotlib 3.8.4
matplotlib-inline 0.1.6
matplotlib-scalebar 0.8.1
modelspec 0.3.4
mpmath 1.3.0
msgpack 1.0.8
natsort 8.4.0
ndindex 1.8
nest-asyncio 1.5.7
networkx 3.3
neuromllite 0.5.9
numexpr 2.10.0
numpy 1.26.4
packaging 23.1
parso 0.8.3
pickleshare 0.7.5
pillow 10.3.0
pip 24.0
platformdirs 3.10.0
ppft 1.7.6.8
progressbar 2.5
progressbar2 4.4.2
prompt-toolkit 3.0.39
psutil 5.9.5
pure-eval 0.2.2
py-cpuinfo 9.0.0
Pygments 2.16.1
PyLEMS 0.6.7
pymongo 4.7.2
pyNeuroML 1.2.12
PyOpenGL 3.1.7
PyOpenGL-accelerate 3.1.7
pyparsing 3.1.2
PyQt6 6.7.0
PyQt6-Qt6 6.7.0
PyQt6-sip 13.6.0
python-dateutil 2.8.2
python-utils 3.8.2
pywin32 306
PyYAML 6.0.1
pyzmq 25.1.1
scipy 1.13.0
setuptools 69.5.1
six 1.16.0
stack-data 0.6.2
sympy 1.12
tables 3.9.2
tabulate 0.9.0
tornado 6.3.3
traitlets 5.9.0
typing_extensions 4.11.0
vispy 0.14.2
wcwidth 0.2.6
wheel 0.43.0

@sanjayankur31 sanjayankur31 added the T: bug Type: bug label May 13, 2024
@sanjayankur31
Copy link
Member

Could you try another python version to see if that perhaps helps? Maybe python3.9 for a start?

I'll check how one can get some debugging info from pyqt bits, it's almost certainly something there that either we or vispy have missed.

@Sietse20
Copy link
Author

Sietse20 commented May 13, 2024 via email

@sanjayankur31
Copy link
Member

I can reproduce this on a windows 11 machine, but I haven't a clue how to debug it. There are no errors, no warnings, no output at all, so I don't even know where to start currently :(

@sanjayankur31 sanjayankur31 changed the title [Bug] VisPy interactive plotting malfunction [Bug] pynml-plotmorph: vispy: no mouse events May 13, 2024
@sanjayankur31 sanjayankur31 self-assigned this May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: bug Type: bug
Projects
Status: 🔖 Ready
Development

No branches or pull requests

2 participants