I am trying to output a complex facet grid plot in the format of the following image:
But the problem is that I don't want the edge color of the markers to be white, I want it to be the face color.
In matplotlib, I can change the color of marker edges by calling the following:
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
df = pd.DataFrame({"values_x": np.random.randn(100), "values_y": np.random.randn(100)})
plt.scatter(x=df["values_x"], y=df["values_y"], edgecolors="red")
plt.show()
This produces a plot that looks like:
Now, if I call the following:
sns.relplot(data=df, x="values_x", y="values_y", edgecolors="red")
plt.show()
I still get white marker edges like in the following:
So, how do I correctly change the color of the marker edges within a call to sns.relplot()?
*For reference, I create the top facet grid plot with the following:
sns.relplot(data=df,
x="C",
y=metric,
row="penalty",
col="solver",
hue="fold")