有几个不同的model_names。我正在尝试使用以下代码在 seaborn catplot 中绘制数据:
sns.set(style="whitegrid")
sns.catplot(x='model_name', y='score', hue='train_val_test', col='score_name',
data=classification_scores, kind='bar', height=4, aspect=.8)
Run Code Online (Sandbox Code Playgroud)
如何更改格式以使图形显示在 2x2 网格上?将它们全部放在一条线上太局促了。