From 890cc87f190b7ba907ea00dd83e00db90f52d19f Mon Sep 17 00:00:00 2001 From: Chavithra Date: Mon, 20 Mar 2023 15:51:19 +0100 Subject: [PATCH] Update visualize_output function (#4536) --- openbb_terminal/helper_classes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openbb_terminal/helper_classes.py b/openbb_terminal/helper_classes.py index 72b1be9b4da..829d3a0937a 100644 --- a/openbb_terminal/helper_classes.py +++ b/openbb_terminal/helper_classes.py @@ -367,6 +367,7 @@ class TerminalStyle: plt.savefig(img_buf, format="jpg") im = Image.open(img_buf) fig = px.imshow(im) + plt.close() fig.update_layout( xaxis=dict(visible=False, showticklabels=False), yaxis=dict(visible=False, showticklabels=False),