boxplot python pandas code example
Example 1: plt boxplot pandas
>>> data = np.random.randn(25, 4)
>>> df = pd.DataFrame(data, columns=list('ABCD'))
>>> ax = df.plot.box()
Example 2: boxplot python
import numpy as np
import matplotlib.pyplot
matrix=np.random.rand(10,10)
plt.boxplot(matrix)