plt.figure(figsize=(10,8))
plt.scatter(df['attacker_size'][df['year'] == 298],
# attacker size in year 298 as the y axis
df['defender_size'][df['year'] == 298],
# the marker as
marker='x',
# the color
color='b',
# the alpha
alpha=0.7,
# with size
s = 124,
# labelled this
label='Year 298')
Scatterplot in Matplotlib에서 수집 한 위 코드 조각에서 plt.figure()
의 필요성은 무엇입니까?matplotlib에서 plt.figure()의 필요성은 무엇입니까?