The different plots have their different uses. A major shortcoming of KDE plots is in trying to create a continuous fit through the data the smoothing operation gives false peaks or extents exist. In your plot you can see the minimum price is negative where there is no data to support it.

The same representation is unlikely to occur with the default binning scheme of most plotting libraries but can be set manually. I certainly wouldn’t use histograms or KDE plots on their own without also using the other.

Data Scientist and Chartered Aeronautical Engineer (MEng CEng EUR ING MRAeS) with over 15 years experience in the Aerospace, Defence and Rail Industry.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ashraf Miah

Data Scientist and Chartered Aeronautical Engineer (MEng CEng EUR ING MRAeS) with over 15 years experience in the Aerospace, Defence and Rail Industry.