File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1524,7 +1524,7 @@ def plot_mode_uq(
15241524 if len (modes_shape ) == 2 :
15251525 if y is None :
15261526 y = np .arange (modes_shape [1 ])
1527- ygrid , xgrid = np .meshgrid (y , x )
1527+ xgrid , ygrid = np .meshgrid (x , y )
15281528
15291529 # Collapse the results across time-delays.
15301530 if d > 1 :
@@ -1566,7 +1566,7 @@ def plot_mode_uq(
15661566 plt .pcolormesh (
15671567 xgrid ,
15681568 ygrid ,
1569- mode .reshape (* modes_shape , order = order ).real ,
1569+ mode .reshape (xgrid . shape , order = order ).real ,
15701570 cmap = "viridis" ,
15711571 )
15721572 plt .colorbar ()
@@ -1582,7 +1582,7 @@ def plot_mode_uq(
15821582 plt .pcolormesh (
15831583 xgrid ,
15841584 ygrid ,
1585- mode_std .reshape (* modes_shape , order = order ),
1585+ mode_std .reshape (xgrid . shape , order = order ),
15861586 cmap = "inferno" ,
15871587 )
15881588 plt .colorbar ()
You can’t perform that action at this time.
0 commit comments