8000 fixed another wrong indexing · scikit-optimize/scikit-optimize@470ffb5 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Feb 28, 2024. It is now read-only.

Commit 470ffb5

Browse files
fixed another wrong indexing
1 parent 5bf4401 commit 470ffb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

skopt/plots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ def plot_evaluations(result, bins=20, dimensions=None,
839839
else:
840840
ax_ = ax[i, i]
841841
ax_.hist(samples[:, index], bins=bins_,
842-
range=None if iscat[j] else dim.bounds)
842+
range=None if iscat[index] else dim.bounds)
843843

844844
# lower triangle
845845
elif i > j:

0 commit comments

Comments
 (0)
0