Repository navigation
Description
Warning
This issue is not yet ready for a PR. If you are interested in contributing to scikit-learn, please have a look at our contributing guidelines, and in particular the sections for new contributors and the "Needs triage" label.
Doc CI is currently failing: https://app.circleci.com/pipelines/github/scikit-learn/scikit-learn/80636/workflows/40ebac76-5fb3-4830-b972-27e2a16b2e3f/jobs/357479
due to a mpl warning:
matplotlib._api.deprecation.MatplotlibDeprecationWarning: vert: bool was deprecated in Matplotlib 3.11 and will be removed in 3.13. Use orientation: {'vertical', 'horizontal'} instead.
originating from our seaborn call:
scikit-learn/examples/inspection/plot_linear_model_coefficient_interpretation.py
Line 370 in 75d1994
| sns.boxplot(data=coefs, orient="h", color="cyan", saturation=0.5, whis=10) |
fixed in: mwaskom/seaborn#3820
but AFAICT this is only released in the newest patch: https://sources.debian.org/patches/seaborn/0.13.2-6/ ?
Details
Traceback (most recent call last):
File "/home/circleci/miniforge3/envs/testenv/lib/python3.14/site-packages/sphinx/cmd/build.py", line 432, in build_main
app.build(args.force_all, args.filenames)
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/circleci/miniforge3/envs/testenv/lib/python3.14/site-packages/sphinx/application.py", line 444, in build
self.events.emit('build-finished', None)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/circleci/miniforge3/envs/testenv/lib/python3.14/site-packages/sphinx/events.py", line 441, in emit
results.append(listener.handler(self._app, *args))
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/home/circleci/miniforge3/envs/testenv/lib/python3.14/site-packages/sphinx_gallery/gen_gallery.py", line 1592, in summarize_failing_examples
raise ExtensionError(fail_message)
sphinx.errors.ExtensionError: Here is a summary of the problems encountered when running the examples:
Unexpected failing examples (1):
../examples/inspection/plot_linear_model_coefficient_interpretation.py failed leaving traceback:
Traceback (most recent call last):
File "/home/circleci/project/examples/inspection/plot_linear_model_coefficient_interpretation.py", line 370, in <module>
sns.boxplot(data=coefs, orient="h", color="cyan", saturation=0.5, whis=10)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/circleci/miniforge3/envs/testenv/lib/python3.14/site-packages/seaborn/categorical.py", line 1634, in boxplot
p.plot_boxes(
~~~~~~~~~~~~^
width=width,
^^^^^^^^^^^^
...<8 lines>...
plot_kws=kwargs,
^^^^^^^^^^^^^^^^
)
^
File "/home/circleci/miniforge3/envs/testenv/lib/python3.14/site-packages/seaborn/categorical.py", line 700, in plot_boxes
artists = ax.bxp(**boxplot_kws)
File "/home/circleci/miniforge3/envs/testenv/lib/python3.14/site-packages/matplotlib/_api/deprecation.py", line 477, in wrapper
return func(*args, **kwargs)
File "/home/circleci/miniforge3/envs/testenv/lib/python3.14/site-packages/matplotlib/axes/_axes.py", line 4842, in bxp
_api.warn_deprecated(
~~~~~~~~~~~~~~~~~~~~^
"3.11",
^^^^^^^
name="vert: bool",
^^^^^^^^^^^^^^^^^^
alternative="orientation: {'vertical', 'horizontal'}",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/circleci/miniforge3/envs/testenv/lib/python3.14/site-packages/matplotlib/_api/deprecation.py", line 94, in warn_deprecated
warn_external(warning, category=MatplotlibDeprecationWarning)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/circleci/miniforge3/envs/testenv/lib/python3.14/site-packages/matplotlib/_api/__init__.py", line 494, in warn_external
warnings.warn(message, category, **kwargs)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
matplotlib._api.deprecation.MatplotlibDeprecationWarning: vert: bool was deprecated in Matplotlib 3.11 and will be removed in 3.13. Use orientation: {'vertical', 'horizontal'} instead.
cc @lesteve
Activity
lesteve commentedon Jul 20, 2026
Yeah I have noticed it the other day, not sure how this happened since the lock-file update should not have happened (unless somebody tweaked the auto-lock file update PR and forgot the
[doc build]before merging the lock-file update 😅).lucyleeow commentedon Jul 20, 2026
Ah good, I knew you'd be on to it!
I saw it after I merged a doc PR and got worried it was me 😅
lesteve commentedon Jul 20, 2026
Happy to review a PR that fixes it 😉, feel free to ping me if someone create a PR.
lesteve commentedon Jul 20, 2026
I could not resist figuring out how that happened, the fingers point at #34419 and yeah indeed no
[doc build]in the commit was used 😅betatim commentedon Jul 20, 2026
I'll investigate a fix for this as I made the update.
lesteve commentedon Jul 20, 2026
Looks like the doc build is back (after a small hiatus) 🎉:
https://app.circleci.com/pipelines/github/scikit-learn/scikit-learn?branch=main