When I try to fix "countplot() got multiple values for argument 'data'" issue, I changed the code as "sns.countplot(data = titanic, x = 'Sex', hue = 'Survived', ax = ax[1])".
It fixes the past issue, but it gives "TypeError: 'NoneType' object is not iterable error" because of "hue" value I think. Can anyone help?