Skip to content

Commit 547058f

Browse files
authored
CI Fixes tests when matplotlib is not installed (scikit-learn#26588)
1 parent 8cac52f commit 547058f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/model_selection/tests/test_plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ def test_curve_display_plot_kwargs(pyplot, data, CurveDisplay, specific_params):
525525

526526

527527
# TODO(1.5): to be removed
528-
def test_learning_curve_display_deprecate_log_scale(data):
528+
def test_learning_curve_display_deprecate_log_scale(data, pyplot):
529529
"""Check that we warn for the deprecated parameter `log_scale`."""
530530
X, y = data
531531
estimator = DecisionTreeClassifier(random_state=0)

0 commit comments

Comments
 (0)