I am plotting some scatter plots, which are "temperature x element", and I want to set the legend to match two other parameters.
The thing is: I want to define the symbol and colour for each parameter so that all my legends have the same legends always.
For example: Parameter 1 - Location France: squares. Portugal: circles. Spain: triangles.
I have plot this:
sns.set_style("ticks")
sns.set_context("paper")
sns.relplot(data=bt, x="T", y="Li", hue="minerals", style="Location", palette="dark")
plt.title("Li vs T")
plt.xlabel("T (°C)")
plt.ylabel("Li (ppm)")
However, the markers and colours are defined automatically, but I want to edit each category individually.