python how to make multiple box plots

Solutions on MaxInterview for python how to make multiple box plots by the best coders in the world

showing results for - "python how to make multiple box plots"
Blanche
22 Oct 2018
1my_dict = {'ABC': [34.54, 34.345, 34.761], 'DEF': [34.541, 34.748, 34.482]}
2
3fig, ax = plt.subplots()
4ax.boxplot(my_dict.values())
5ax.set_xticklabels(my_dict.keys())