I have the followed dataframe:
I then use this code to generate the plot:
plt.figure(figsize=(10,8))
sns.lineplot(x="Minutes", y="Hours", data=df1, hue="Product")
plt.show()
Rather than have the label for each line in the legend, how do I get them to appear on the plot itself i.e. slightly to the right of each individual/associated line or tethered in some way to each line?