Closed
Description
Consider the following example code:
import matplotlib.pyplot as plt
fig = plt.figure()
def on_key(event):
print('you pressed', event.key, event.xdata, event.ydata)
fig.canvas.mpl_connect('key_press_event', on_key)
Now when I run this code and press Shift+Left Arrow, the qt5
backend correctly detects this event as shift+left
. However, the osx
backend (which AFAIK is the default backend on macOS) doesn't register the shift key at all, I only get left
. Is it possible to fix this somehow?