def on_key_press(self, event):
print('you pressed', event.key)
# implement the default mpl key press events described at
# http://matplotlib.org/users/navigation_toolbar.html#navigation-keyboard-shortcuts
# key_press_handler(event, self.canvas, self.mpl_toolbar)
评论列表
文章目录