Skip to content

Commit

Permalink
Fix bug in opti param plot
Browse files Browse the repository at this point in the history
  • Loading branch information
romain-ragonnet committed Jul 20, 2023
1 parent 8894e52 commit 757ab70
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,11 @@ def plot_opti_params(sample_as_dicts, best_params, bcm, output_folder):
if i_row == n_rows:
i_row = 0
i_col += 1

for remain_i_row in range(i_row, n_rows):
ax = axs[remain_i_row, i_col]
ax.set_visible(False)

if i_row > 0:
for remain_i_row in range(i_row, n_rows):
ax = axs[remain_i_row, i_col]
ax.set_visible(False)

fig.tight_layout()

Expand Down

0 comments on commit 757ab70

Please sign in to comment.