这是我的代码
import matplotlib.pyplot as plt
import matplotlib
import numpy as np
im = plt.imread('statszone_football_pitch.png')
implot = plt.imshow(im, aspect='auto')
xlim, ylim = plt.xlim(), plt.ylim()
dpi=90
fig = plt.figure(figsize=(620/dpi, 579/dpi), dpi=dpi)
ax = fig.add_axes([0, 0, 1, 1], frame_on=False)
#ax.xaxis.set_visible(False)
#ax.yaxis.set_visible(False)
ax.imshow(im, interpolation='none')
y, x = np.genfromtxt('coordinate_tackle_success.csv', delimiter=',', unpack=True)
plt.plot(x,y, "o")
plt.xlim(xlim)
plt.ylim(ylim)
plt.savefig('tackles.png')