I'm doing a Seaborn lineplot for longitudinal data which is grouped by "Subscale" using hue and by "Item" using style.
Here is my code (I hope this is understandable also without data):
ax = sns.lineplot(data = df, x = 'Week', y = 'Value', style = 'Item', hue = 'Subscale', palette = 'colorblind', markers = True)
plt.legend(bbox_to_anchor = (1.03, 1.02), fontsize = 10)
What I want is to combine the sublegends so that it only shows the legend for "Item" but the items are colored according to "Subscale", kind of like this:

I've failed to create this, so if any of you could help, this would be highly appreciated! Thanks :)

