I think you are looking for a hue
parameter. Showing your df
would help.
import pandas as pd
import seaborn as sns
df = sns.load_dataset('tips')
sns.lineplot(x='total_bill', y='size', hue='sex', data=df)
hue
acts like a filter and draws the selected plot for each instance found in the hue
parameter, so in your case hue
would need to be the player.
Unless you want n
lineplots for each player then, of course, you can use for loop.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…