-
Notifications
You must be signed in to change notification settings - Fork 88
Description
Jdaviz component
Imviz
Description
I have a common use case where I want to load a set of files, and then blink between them. If there are more than 2 files, the batch_load context manager is very useful because it can dramatically speed up loading. However, if I use batch_load, the blinking functionality for some reason doesn't work! The first image loads correctly but all the following images just show the same image (not the same as the first one, but I'm not sure what it is other than it's not a matching stretch).
How to Reproduce
- Load a group of files using
imviz.load(...)inside theimviz.batch_load()context manager - in the viewer, hit the "b" key to blink between at least the first 3
- notice that everything after the first two is the same (and also seems to be in an odd stretch)
Expected behavior
Behavior of the batch loaded data should be exactly the same as if I had not done batch_load
Browser
Chrome 143
Jupyter
Selected Jupyter core packages...
IPython : 9.8.0
ipykernel : 6.31.0
ipywidgets : 8.1.8
jupyter_client : 8.6.3
jupyter_core : 5.9.1
jupyter_server : 2.17.0
jupyterlab : 4.5.0
nbclient : 0.10.2
nbconvert : 7.16.6
nbformat : 5.10.4
notebook : 7.5.0
qtconsole : not installed
traitlets : 5.14.3
Software versions
Linux-6.12.60-x86_64-with-glibc2.40
Python 3.14.1 | packaged by conda-forge | (main, Dec 3 2025, 10:16:03) [GCC 14.3.0]
Numpy 2.3.5
astropy 7.2.0
matplotlib 3.10.8
scipy 1.16.3
scikit-image 0.25.2
asdf 5.1.0
stdatamodels 4.1.0
gwcs 0.26.1
regions 0.11
specutils 2.2.0
specreduce 1.7.0
photutils 2.3.0
astroquery 0.4.11
pyyaml 6.0.3
asteval 1.0.7
idna 3.11
traitlets 5.14.3
bqplot 0.12.45
bqplot-image-gl 1.8.0
glue-core 1.24.1
glue-jupyter 0.25.0
glue-astronomy 0.14.0
echo 0.11.1
ipyvue 1.11.3
ipyvuetify 1.11.3
ipysplitpanes 0.2.0
ipygoldenlayout 0.4.0
ipypopout 2.0.1
Jinja2 3.1.6
solara 1.55.1
vispy 0.15.2
sidecar 0.8.0
Jdaviz 4.4.2