Drawing histogram of probability density function of a matrix in python [closed]
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 5 days ago . Improve this question I have a 2D matrix of p-values. I want to draw a histogram of the pdf of this 2D matrix. How can I do that? 回答1: Just so you know: Seaborn's distplot does all of this. import seaborn as sns, numpy as np sns.set_palette("cividis"); np.random.seed(0) x = np.random.randn(100) ax =