Skip to content

Commit

Permalink
silx.gui.plot.ImageStack: fix initialization of '_urlIndexes'. Should…
Browse files Browse the repository at this point in the history
… always be a dict
  • Loading branch information
payno committed Oct 31, 2024
1 parent 08856bb commit 5dcd076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/silx/gui/plot/ImageStack.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def reset(self) -> None:
"""Clear the plot and remove any link to url"""
self._freeLoadingThreads()
self._urls = None
self._urlIndexes = None
self._urlIndexes = {}
self._urlData = {}
self._current_url = None
self._plot.clear()
Expand Down

0 comments on commit 5dcd076

Please sign in to comment.