I was trying to plot this using displot.
my code
plt = sns.displot(reg_pred-y_test,kind = 'kde')
Now I want to set ranges of X axis (-20,20) and Y axis (0.00 to 0.12).
I tried plt.xlim(-20,20)
It gives me the followring error message :
AttributeError: 'FacetGrid' object has no attribute 'xlim'
Can anyone help me with setting the ranges?