Skip to content

Commit 479c36a

Browse files
0.31.14
var_name error fixed
1 parent 4080331 commit 479c36a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
77

88
[project]
99
name = "spotpython"
10-
version = "0.31.13"
10+
version = "0.31.14"
1111
authors = [
1212
{ name="T. Bartz-Beielstein", email="tbb@bartzundbartz.de" }
1313
]

src/spotpython/surrogate/plot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ def plot_error_points(
239239
if title is not None:
240240
ax.set_title(title)
241241
if var_name is not None:
242-
ax.set_xlabel(var_name[0])
243-
ax.set_ylabel(var_name[1])
242+
ax.set_xlabel(var_name[i])
243+
ax.set_ylabel(var_name[j])
244244
else:
245245
ax.set_xlabel(f"Dimension {i}")
246246
ax.set_ylabel(f"Dimension {j}")

0 commit comments

Comments
 (0)