Skip to content

Commit b7f2330

Browse files
authored
bugfix (#64)
1 parent 059e286 commit b7f2330

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spatialdata_plot/pl/basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ def show(
684684

685685
# Manually show plot if we're not in interactive mode
686686
# https://stackoverflow.com/a/64523765
687-
if hasattr(sys, "ps1"):
687+
if not hasattr(sys, "ps1"):
688688
plt.show()
689689

690690
return (fig_params.ax if fig_params.axs is None else fig_params.axs) if return_ax else None # shuts up ruff

0 commit comments

Comments
 (0)