Skip to content

Commit 4607bf2

Browse files
committed
fix bug
1 parent 71a53c7 commit 4607bf2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

validphys2/src/validphys/hyperoptplot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -587,8 +587,8 @@ def hyperopt_table(hyperopt_dataframe):
587587
drop_keys += [f"layer_{idx}" for idx in range(1, 5)]
588588

589589
dataframe, _ = hyperopt_dataframe
590-
dataframe.drop(columns=drop_keys, inplace=True)
591-
dataframe.sort_values(by=["hyper_loss_chi2"], inplace=True)
590+
dataframe.drop(columns=drop_keys, inplace=False)
591+
dataframe.sort_values(by=["hyper_loss_chi2"], inplace=False)
592592
return dataframe
593593

594594

0 commit comments

Comments
 (0)