`displot` is a figure-level function and does not accept the ax= paramter. You may wish to try histplot. code example
Example: kde = false
kdebool, optional
Whether to plot a gaussian kernel density estimate.
kdebool, optional
Whether to plot a gaussian kernel density estimate.