ニュース

How to plot multiple boxplots in the same figure. Useful when wanting to visualize e.g. model uncertainty - nchlis/matplotlib_multi_boxplot_example ...
How to plot multiple boxplots in the same figure. Useful when wanting to visualize e.g. model uncertainty - nchlis/matplotlib_multi_boxplot_example ...
ax.boxplot(test) ax.set_xticklabels(['test1', 'test2']) plt.show() 実行結果: test2のデータに1点外れ値があります。 著しくデータから外れているので、その点のみをプロットしているのです。 pythonのmatplotlibでは、特に外れ値を定義しなくても、自動で判別してくれので便利です。