Did you ask something like this?
import matplotlib.ticker as ticker
columns_plot = ['Composure', 'Marking', 'Penalties', 'Vision', 'Stamina']
fig, ax = plt.subplots(figsize=(14, 9))
ax.yaxis.set_major_formatter(ticker.EngFormatter())
for each in columns_plot:
sns.lineplot(data = df_final, x = each, y = 'Wage', label = str(each), ci = None)
plt.legend()
plt.show()
Produces:
2nd method, side by side:
fig, axes = plt.subplots(1, 5, figsize=(23, 5), sharey=True)
columns_plot = ['Composure', 'Marking', 'Penalties', 'Vision', 'Stamina']
for i, each in enumerate(columns_plot):
sns.lineplot(data = df_final, ax = axes[i], x = each, y = 'TransformedWage', ci = None, color = 'g')
plt.show()
Produces:
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…