Skip to content

Commit 53feef6

Browse files
committed
Fix a bug in parameter space plot
1 parent 90f2749 commit 53feef6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

climada/util/calibrate/bayesian_optimizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def plot_single(x, y):
154154
return ax
155155

156156
# Option 0: Only one parameter
157-
params = p_space_df.columns.to_list()
157+
params = p_space_df["Parameters"].columns.to_list()
158158
if len(params) < 2:
159159
return plot_single(x=params[0], y=repeat(0))
160160

0 commit comments

Comments
 (0)