From 2122156015b61fbb650e28b58a958e4d632b1058 Mon Sep 17 00:00:00 2001 From: Zehong Date: Mon, 14 Feb 2022 11:42:37 +0800 Subject: [PATCH] Update plotting.py Fix minor bug of logging --- src/utils/plotting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/plotting.py b/src/utils/plotting.py index 9e7ac1de..3d4c5ca5 100644 --- a/src/utils/plotting.py +++ b/src/utils/plotting.py @@ -129,7 +129,7 @@ def make_matching_figures(data, config, mode='evaluation'): fig = _make_confidence_figure(data, b_id) else: raise ValueError(f'Unknown plot mode: {mode}') - figures[mode].append(fig) + figures[mode].append(fig) return figures