Skip to content

Commit

Permalink
MAINT: Automatically maximize plt window for assistants.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwboth committed Jul 26, 2024
1 parent e511f5e commit 5fea65f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/darsia/assistants/base_assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ def __call__(self) -> Any:
elif self.img.space_dim == 3:
self._plot_3d()
self._setup_event_handler()
manager = plt.get_current_fig_manager()
manager.full_screen_toggle()
plt.show(block=self.block)

def _plot_2d(self) -> None:
Expand Down

0 comments on commit 5fea65f

Please sign in to comment.