Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
david-zwicker committed Aug 12, 2024
1 parent f431191 commit d62574e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion pde/tools/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ def in_ipython() -> bool:
@contextlib.contextmanager
def napari_viewer(
grid: GridBase, run: bool | None = None, close: bool = False, **kwargs
) -> Generator[napari.viewer.Viewer, None, None]:
) -> Generator[napari.viewer.Viewer]:
"""Creates an napari viewer for interactive plotting.
Args:
Expand Down
4 changes: 0 additions & 4 deletions tests/resources/run_pde.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ def run_pde(t_range, storage):
field = pde.ScalarField.random_uniform(pde.UnitGrid([8, 8]))
storage["initial_state"] = field

# from modelrunner import model
#
# print("PATH", model.__file__)

eq = pde.DiffusionPDE()
result = eq.solve(
field,
Expand Down

0 comments on commit d62574e

Please sign in to comment.