Skip to content

Commit b2ad1d7

Browse files
committed
removing additional subplot in case layout=='grid' in plotOptimization.
1 parent 956ed5e commit b2ad1d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

famodel/design/LineDesign.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1384,7 +1384,7 @@ def plotOptimization(self, layout="tall", return_fig=False):
13841384
for i in range(n_con, n_rows):
13851385
axes[i, 1].axis('off')
13861386

1387-
for i in range(2, n_rows):
1387+
for i in range(1, n_rows):
13881388
axes[i, 2].axis('off')
13891389

13901390
# --- X labels only on bottom subplots ---

0 commit comments

Comments
 (0)