fig, (ax1, ax2) = plt.subplots(1,2)
sns.catplot(x = "XVariable1", y = "YVariable", data = df, ax=ax1)
sns.catplot(x = "XVariable2", y = "YVariable", data = df, ax=ax2)
plt.show()
The code does display the categorical plots but only beneath, and then have two empty plots next to each above. Notice the X-variables are different.