Histogram with Boxplot above in Python
问题 Hi I wanted to draw a histogram with a boxplot appearing the top of the histogram showing the Q1,Q2 and Q3 as well as the outliers. Example phone is below. (I am using Python and Pandas) I have checked several examples using matplotlib.pyplot but hardly came out with a good example. And I also wanted to have the histogram curve appearing like in the image below. I also tried seaborn and it provided me the shape line along with the histogram but didnt find a way to incorporate with boxpot