added the possibility to visualize the densities using boxplots