I know that my answer came very late, but I hope that someone will benefit from this.
To solve the above, I used the code below after regrouping the data, of course:
Data:
d = {'class': ['first', 'second', 'third', 'first', 'second', 'third', 'first', 'second', 'third'], 'sex': ['men', 'men', 'men', 'woman', 'woman', 'woman', 'children', 'children', 'children'], 'survival_rate':[0.914680, 0.300120, 0.118990, 0.667971, 0.329380, 0.189747, 0.660562, 0.882608, 0.121259]} df = pd.DataFrame(data=d)

sns.factorplot("sex", "survival_rate", col="class", data=df, kind="bar")
