Skip to content

Commit 7ac735c

Browse files
authored
Fix import order and update type hint for map_data
1 parent a418f13 commit 7ac735c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/fullwave_simple_plane_wave/fullwave_simple_plane_wave.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
from copy import deepcopy
77

8-
from matplotlib import animation
98
import matplotlib.pyplot as plt
10-
from mpl_toolkits.axes_grid1 import make_axes_locatable
119
import numpy as np
10+
from matplotlib import animation
11+
from mpl_toolkits.axes_grid1 import make_axes_locatable
1212
from numpy.typing import NDArray
1313
from tqdm import tqdm
1414

@@ -25,7 +25,7 @@
2525

2626

2727
def map_to_coords(
28-
map_data: NDArray[np.float64 | np.int64 | np.bool],
28+
map_data: NDArray[np.float64 | np.int64 | np.bool_ | bool],
2929
*,
3030
export_as_xyz: bool = False,
3131
) -> NDArray[np.int64]:

0 commit comments

Comments
 (0)