From ad84e2db5599c4375c42dbb420fe48ef6e8a8ac1 Mon Sep 17 00:00:00 2001 From: Cas Blaauw <38132585+casblaauw@users.noreply.github.com> Date: Fri, 24 Jan 2025 15:25:49 +0100 Subject: [PATCH] Keep show as plt.show() --- src/crested/pl/_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crested/pl/_utils.py b/src/crested/pl/_utils.py index a2c96f2..cd77175 100644 --- a/src/crested/pl/_utils.py +++ b/src/crested/pl/_utils.py @@ -97,7 +97,7 @@ def render_plot( plt.savefig(save_path) if show: - fig.show() + plt.show() if not show and not save_path: return fig