Here is the code I Used:
sns.set_style(\'whitegrid\') sns.countplot(x=\'depression\',hue=\'gender\',data=data,palette=\'RdBu_r\')
Here is the output: enter image d