Skip to content

Commit

Permalink
CI Fixes tests when matplotlib is not installed (scikit-learn#26588)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjpfan committed Jun 15, 2023
1 parent 8cac52f commit 547058f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sklearn/model_selection/tests/test_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ def test_curve_display_plot_kwargs(pyplot, data, CurveDisplay, specific_params):


# TODO(1.5): to be removed
def test_learning_curve_display_deprecate_log_scale(data):
def test_learning_curve_display_deprecate_log_scale(data, pyplot):
"""Check that we warn for the deprecated parameter `log_scale`."""
X, y = data
estimator = DecisionTreeClassifier(random_state=0)
Expand Down

0 comments on commit 547058f

Please sign in to comment.