Skip to content

Commit 84787c4

Browse files
committed
Fix complex pair plotting bug
1 parent cc9cae9 commit 84787c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydmd/bopdmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1450,7 +1450,7 @@ def plot_mode_uq(
14501450
nd, r = self.modes.shape
14511451
if plot_modes is None or isinstance(plot_modes, int):
14521452
mode_indices = np.arange(r)
1453-
if plot_complex_pairs:
1453+
if not plot_complex_pairs:
14541454
if r % 2 == 0:
14551455
mode_indices = mode_indices[::2]
14561456
else:

0 commit comments

Comments
 (0)