I have generated a seaborn catplot
with kind=point
as follows:
ax = sns.catplot(
x = "bins",
y = "sigma",
hue = "conditions",
data = DB,
col_wrap = 2,
errorbar = "sd",
col_order = ["V1d", "V1v", "V2d", "V2v", "V3a", "V3v", "V5", "V4", "V3d"],
kind = "point",
palette = HUE_COLORS,
col = "rois",
dodge = False,
join = False,
scale = 1.5,
)
data
is taken from "DB" database. "bins" is the x
categorical variable (type string
) while "sigma" the y
independent variable (type float
).
The plot is divided into several subplot defined with the "rois" variable for col
.
I would like each point to have different size depending on the "sigma" value (i.e., the bigger the sigma the bigger the point).
I managed to do so using the scatterplot
plot, that in turn, does not have the error bars, which I need.
Is there a way to add the size property to catplot with kind as point? Thank you all!