|
@ -86,8 +86,9 @@ def main(): |
|
|
df.set_index(index, inplace=True) |
|
|
df.set_index(index, inplace=True) |
|
|
df = df.sort_values(y_label) |
|
|
df = df.sort_values(y_label) |
|
|
|
|
|
|
|
|
sns.barplot(x=x_label, y=y_label, hue=var_label, data=df, palette="rocket", errorbar="sd").set(yscale="log") |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ax = sns.barplot(x=x_label, y=y_label, hue=var_label, data=df, palette="rocket", errorbar="sd") |
|
|
|
|
|
ax.set(yscale="log") |
|
|
|
|
|
sns.move_legend(ax, "lower right") |
|
|
plt.title(title) |
|
|
plt.title(title) |
|
|
plt.savefig(os.path.join(folder_path, "plot-opt-submitmethod.png"), bbox_inches='tight') |
|
|
plt.savefig(os.path.join(folder_path, "plot-opt-submitmethod.png"), bbox_inches='tight') |
|
|
plt.show() |
|
|
plt.show() |
|
|