Here is a simple example that prints the location of the mouse click and which button was pressed: fig, ax = plt.subplots() ax.plot(np.random.rand(10)) def ...
確定! 回上一頁