Search code examples
pythonmatplotlibdata-visualizationseaborn

How boxen plot is different from box plot?


I want to know why there is boxen plot when we have box plot in sea-born library.
I know one thing that boxen plot optimised way to represent data especially for large data-sets but i don't know why and other then this i don't have any good reasons to use boxen plot.


Solution

  • From my understanding of the paper describing the concept of "boxenplot" (or "letter-value plot" as the authors named it), the goal is to provide a better representation of the distribution of the data than boxplot (esp. when lots of outlier values are present), but without the need to choose specific parameters, for example for the KDE function used by violinplot, which could distort the appearance of the distribution if chosen poorly

    Here is a comparison of the three types of plots: enter image description here