Skip to content

Commit 2c58e68

Browse files
v0.6.25
validation: plot handling improved
1 parent c4ba665 commit 2c58e68

2 files changed

Lines changed: 2 additions & 2 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.6.24"
10+
version = "0.6.25"
1111
authors = [
1212
{ name="T. Bartz-Beielstein", email="tbb@bartzundbartz.de" }
1313
]

src/spotPython/plot/validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def plot_roc_from_dataframes(
158158
plot_roc_from_dataframes(df_list, model_names=model_names, target_column="y")
159159
160160
"""
161-
ax = plt.gca()
161+
fig, ax = plt.subplots(figsize=(10, 5))
162162
for i, df in enumerate(df_list):
163163
y_test = df[target_column]
164164
y_pred = df["Prediction"]

0 commit comments

Comments
 (0)