From 1cb43b827ae2b3f5f92d54e6b3391bb2d63018d7 Mon Sep 17 00:00:00 2001 From: AdamTheisen Date: Tue, 10 Oct 2023 10:53:19 -0500 Subject: [PATCH] ENH: bug fix for test --- act/plotting/plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/act/plotting/plot.py b/act/plotting/plot.py index 72c750517a..2dccff414b 100644 --- a/act/plotting/plot.py +++ b/act/plotting/plot.py @@ -212,7 +212,7 @@ def put_display_in_subplot(self, display, subplot_index, y_axis_index=0): 'Only single plots can be made as subplots ' + 'of another Display object!' ) if len(np.shape(display.axes)) == 1: - my_projection = display.axes[subplot_index].name + my_projection = display.axes[0].name else: my_projection = display.axes[0][y_axis_index].name