diff --git a/openbb_terminal/helper_classes.py b/openbb_terminal/helper_classes.py index 72b1be9b4da7..829d3a0937a1 100644 --- a/openbb_terminal/helper_classes.py +++ b/openbb_terminal/helper_classes.py @@ -367,6 +367,7 @@ def visualize_output( 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),