diff --git a/src/robofish/evaluate/evaluate.py b/src/robofish/evaluate/evaluate.py index 7b83ee16360bc11664bc830fcf2cb0aba6e0c2c9..88edead66d1a58e0fd303f8d8900c458e220ec86 100644 --- a/src/robofish/evaluate/evaluate.py +++ b/src/robofish/evaluate/evaluate.py @@ -539,14 +539,17 @@ def evaluate_follow_iid( legend=True, joint_kws={"bins": 50}, ) - grid.fig.set_figwidth(9) - grid.fig.set_figheight(6) - grid.fig.subplots_adjust(top=0.9) + # grid.fig.set_figwidth(9) + # grid.fig.set_figheight(6) + # grid.fig.subplots_adjust(top=0.9) grids.append(grid) - fig = plt.figure(figsize=(8 * len(grids), 8)) + # This is neccessary because joint plot does not receive an ax object. + # It creates issues with too many plots though + # Created an issue + fig = plt.figure(figsize=(6 * len(grids), 6)) - fig.suptitle("follow/iid: from left to right: " + str(labels), fontsize=16) + fig.suptitle(f"follow/iid: from left to right:\n{', '.join(labels)}", fontsize=12) gs = gridspec.GridSpec(1, len(grids)) for i in range(len(grids)):