bugfix for nans in evaluations
@@ -127,8 +127,8 @@ def plot_model_comparison(result, sort=False, colors=None,
while len(evaluations.shape) > 2:
evaluations = np.nanmean(evaluations, axis=-1)
+ noise_ceiling = noise_ceiling[:, ~np.isnan(evaluations[:, 0])]
evaluations = evaluations[~np.isnan(evaluations[:, 0])]
- noise_ceiling = np.array(noise_ceiling)
perf = np.mean(evaluations, axis=0)
n_bootstraps, n_models = evaluations.shape
if sort is True:
