Conversation
This changed I we the advent of ipympl (Lab; modern Notebook). Now the scroll over a figure make the notebook keep scrolling, so it is hard to scroll over a slicer-image through the volume. This PR implements the fix suggested by Matplotlib (PR 235).
Codecov Report
@@ Coverage Diff @@
## main #322 +/- ##
=======================================
Coverage 85.41% 85.41%
=======================================
Files 38 38
Lines 11420 11421 +1
=======================================
+ Hits 9754 9755 +1
Misses 1666 1666
|
|
Looks good to me, I'm assuming you've tested this yourself and it works well on your end too |
|
"Have tested it" is probably a big word. It worked locally in a Python 3.11 environment, I checked with Jupyter Lab, and also that it doesn't break in IPython. |
|
However, the to listen to the scroll events. So setting Should always be possible, and I cannot imagine that it has any negative side effects. It was created for this reason. Let me know if you would prefer that I do a more thorough testing. |
|
As reference maybe also this: |
The behaviour changed with the advent of ipympl (Lab; modern Notebook), I think. Currently the scroll over a figure makes the notebook keep scrolling, so it is hard to scroll over a slicer-image through the volume.
This PR implements the fix suggested by Matplotlib (PR 235).