I want to create a plot with Seaborn by using relplot for the following plot:
My code so far is:
f = sns.relplot(
data = data,
x="year",
y="gdpPercap",
hue="continent",
col="continent",
col_wrap=3,
height=2,
aspect=1.5,
alpha=0.5,
kind="line",
)
for ax in f.axes.flatten():
ax.semilogy()
However, my plot looks like this:
How do I change the plot so that each line represent each data?


