Skip to content

Commit 65cee1c

Browse files
committed
Bug fix
1 parent 5fd44b7 commit 65cee1c

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
@@ -1458,7 +1458,7 @@ def plot_mode_uq(
14581458
modes = np.average(modes.reshape(d, nd // d, r), axis=0)
14591459
modes_std = np.average(modes_std.reshape(d, nd // d, r), axis=0)
14601460

1461-
rows = int(np.ceil(modes.shape[-1] / cols))
1461+
rows = 2 * int(np.ceil(modes.shape[-1] / cols))
14621462
fig, axes = plt.subplots(rows, cols, figsize=figsize, dpi=dpi)
14631463
avg_axes = [ax for axes_list in axes[::2] for ax in axes_list]
14641464
std_axes = [ax for axes_list in axes[1::2] for ax in axes_list]

0 commit comments

Comments
 (0)