bugfix for fixed model evaluation
@@ -127,6 +127,7 @@ def plot_model_comparison(result, sort=False, colors=None,
while len(evaluations.shape) > 2:
evaluations = np.nanmean(evaluations, axis=-1)
+ if noise_ceiling.ndim > 1:
noise_ceiling = noise_ceiling[:, ~np.isnan(evaluations[:, 0])]
evaluations = evaluations[~np.isnan(evaluations[:, 0])]
perf = np.mean(evaluations, axis=0)
