Commit cbf74db4 authored by Francois Hamonic's avatar Francois Hamonic
Browse files

whiskers

parent 489ee9e4
......@@ -40,13 +40,13 @@ for i in [0, 1, 2]:
axs[i].axhline(y=60, color='lightblue', linestyle='--')
axs[i].axhline(y=80, color='lightblue', linestyle='--')
bplot1 = axs[0].boxplot(vars_datas, showfliers=False, patch_artist=True)
bplot1 = axs[0].boxplot(vars_datas, meanline=True, showmeans=True, whis=(0, 100), patch_artist=True)
axs[0].set(xlabel=None, ylabel='removed variables')
axs[0].set_xticklabels([])
bplot2 = axs[1].boxplot(constr_datas, showfliers=False, patch_artist=True)
bplot2 = axs[1].boxplot(constr_datas, meanline=True, showmeans=True, whis=(0, 100), patch_artist=True)
axs[1].set(xlabel=None, ylabel='removed constraints')
axs[1].set_xticklabels([])
bplot3 = axs[2].boxplot(elems_datas, showfliers=False, patch_artist=True)
bplot3 = axs[2].boxplot(elems_datas, meanline=True, showmeans=True, whis=(0, 100), patch_artist=True)
axs[2].set(xlabel="percentage of improvable arcs", ylabel='removed entries')
axs[2].set_xticklabels([x if x % 10 == 0 else "" for x in x_datas])
......@@ -54,8 +54,6 @@ for bplot in (bplot1, bplot2, bplot3):
for patch in bplot['boxes']:
patch.set_facecolor('white')
# legend = plt.legend(loc='lower right', shadow=True, fontsize='medium')
plt.tight_layout()
fig.subplots_adjust(hspace=0.08)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment