I am trying to create a catplot in sns and the sample data is below https://drive.google.com/file/d/1Lq3KH6Mj1WVPNA4ByJwtFQd4ovLd4lgi/view?usp=sharing
when I use the below to generate the plot
fig=sns.catplot(data=df, x = 'SubCategory', hue='filedate',col='Category',kind='count')
I get the below plot.
Why does the SubCategory like "G" come in Category 1 and 2 when it is only in 3. Also how can I just bring those SubCategories which are in respective Category instead of all SubCategories showing up against all the Categories


