def get_score_plot(contest, N=100):
df = ccd.summary(contest)
scores = df.score
fig, ax = plt.subplots()
df.plot(x='rank', y='score', yerr='precision', style='_', ax=ax)
ax.set_xlim(0, N)
ax.set_ylim(scores[N], scores[0] + 0.05)
ax.set_title(f'Cartoon caption contest {contest}')
ax.set_ylabel('Average score')
ax.set_xlabel('Rank')
return fig