Skip to content

Commit

Permalink
Keep show as plt.show()
Browse files Browse the repository at this point in the history
  • Loading branch information
casblaauw authored Jan 24, 2025
1 parent 2e59d76 commit ad84e2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crested/pl/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ad84e2d

Please sign in to comment.