9951 explained code solutions for 126 technologies


python-matplotlibHow to draw boxplot


import matplotlib.pyplot as plt

plt.boxplot([2,3,6,2,4,5,1,10])
 
plt.show()ctrl + c
import matplotlib.pyplot as plt

loads Matplotlib module to use plotting capabilities

.boxplot(

plots boxplot (features of a given set of values: minimum, first quartile, median, third quartile and maximum)

.show()

render chart in a separate window