From 1fc1cd4288062c9897ad537b0449879e07ddc0af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Est=C3=A8ve?= Date: Thu, 13 Oct 2022 15:13:25 +0200 Subject: [PATCH 1/2] MAINT Fix full doc build by avoiding plot_set_output.py side-effect --- examples/miscellaneous/plot_set_output.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/miscellaneous/plot_set_output.py b/examples/miscellaneous/plot_set_output.py index 12f2c822753e8..d36309e5b2745 100644 --- a/examples/miscellaneous/plot_set_output.py +++ b/examples/miscellaneous/plot_set_output.py @@ -109,3 +109,8 @@ log_reg = clf[-1] coef = pd.Series(log_reg.coef_.ravel(), index=log_reg.feature_names_in_) _ = coef.sort_values().plot.barh() + +# %% +# This resets `transform_output` to its default value to avoid impacting other +# examples when generating the scikit-learn documentation +set_config(transform_output="default") From 59812c35ffce1ed7bb2a6d017443d6c625b93878 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Est=C3=A8ve?= Date: Thu, 13 Oct 2022 15:15:04 +0200 Subject: [PATCH 2/2] [doc build] trigger full doc build