Open eteq opened 3 weeks ago
I can reproduce the division by zero traceback by removing the output - from full traceback, this seems to be triggered by bqplot-image-gl, not jdaviz. Note though that subsequent .show()
calls do work on my end, which then makes the traceback pretty harmless since it doesn't affect future widget instances - but at the least could be confusing for users who run into this case. Any ideas @maartenbreddels?
Hmm, strange: I agree with the above now! That is, subsequent calls to show()
do work. There is a bit of a delay (not terribly problematic, just a bit slower than in the notebook), so maybe I just didn't wait long enough the first time I tried it?
Anyway, sounds like this is just the div by zero problem, which is upstream fix required? Added label accordingly.
Jdaviz component
Other (explain in Description below)
Description
I was testing running a jupyter notebook in VS Code and showing jdaviz. The first surprise was: the basic workflow works flawlessly!:
and all the interactions, etc work fine.
However, then I ran into a problem illustrated here:
if you take the cell that
show()
was done in, and get rid of its output (in this case be re-running it with a different cell content, although just deleting the cell also works), it gives this error that seems to indicate some sort of windowing math is not working as expected.More importantly, any subsequent call to
.show()
doesn't show anything, so one is forced to restart the notebook.How to Reproduce
Expected behavior
The cell should be removable without error, and subsequent calls to
.show()
should just happily proceed along.Browser
No response
Jupyter
Selected Jupyter core packages... IPython : 8.28.0 ipykernel : 6.29.5 ipywidgets : 8.1.5 jupyter_client : 8.6.3 jupyter_core : 5.7.2 jupyter_server : 2.14.2 jupyterlab : 4.2.5 nbclient : 0.10.0 nbconvert : 7.16.4 nbformat : 5.10.4 notebook : 7.2.2 qtconsole : not installed traitlets : 5.14.3
Software versions