fig.canvas.mpl_connect('key_press_event', ...) does not work anymore with matplotlib 3.10. I compiled the following example to demonstrate this (run in a jupyter notebook): %matplotlib widget import ...
%matplotlib ipympl from matplotlib import pyplot as plt import numpy as np img = np.random.randint(256, size=(512, 512, 3), dtype=np.uint8) plt.imshow(img) the figure buttons ("move", "zoom" and all ...
In recent years, JupyterLab has rapidly become the tool of choice for data scientists, machine learning (ML) practitioners, and analysts worldwide. This powerful, web-based integrated development ...