Skip to content

Commit 947d83d

Browse files
committed
update test
1 parent eca221c commit 947d83d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/core/test_plotting.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def test_plot_xy():
3535
# plot without error bars
3636
fig, ax = plt.subplots()
3737
plotting.plot_xy(
38-
X, y, y_pred, None, ax=ax, input_index=1, output_index=2, r2_score=0.5
38+
X, y, y_pred, None, ax=ax, input_label="1", output_label="2", r2_score=0.5
3939
)
4040
# test for error bars
4141
assert len(ax.containers) == 0
@@ -45,7 +45,7 @@ def test_plot_xy():
4545
# plot with error bars
4646
fig, ax = plt.subplots()
4747
plotting.plot_xy(
48-
X, y, y_pred, y_variance, ax=ax, input_index=1, output_index=2, r2_score=0.5
48+
X, y, y_pred, y_variance, ax=ax, input_label="1", output_label="2", r2_score=0.5
4949
)
5050
assert len(ax.containers) > 0
5151
assert len(ax.collections) > 0

0 commit comments

Comments
 (0)