Skip to content

Commit

Permalink
MAINT: Block plots, makes assistants spyder compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
jwboth committed Oct 2, 2023
1 parent 2f3ed6b commit 8287139
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/darsia/assistants/base_assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def _plot_2d(self) -> None:
self.ax.set_ylabel("y-axis")
self.ax.set_aspect("equal")

plt.show()
plt.show(block=True)

def _plot_3d(self) -> None:
"""Side view with interactive event handler."""
Expand Down Expand Up @@ -273,4 +273,4 @@ def _plot_3d(self) -> None:
self.ax[2].set_ylabel("z-axis")
self.ax[2].set_aspect("equal")

plt.show()
plt.show(block=True)

0 comments on commit 8287139

Please sign in to comment.