Skip to content

Commit

Permalink
DOC fix jupyterlab and binder could not find polars (scikit-learn#2…
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie-XIAO authored Feb 19, 2024
1 parent aaf215c commit 5214a86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .binder/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ seaborn
Pillow
sphinx-gallery
scikit-learn
polars
2 changes: 2 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,8 @@ def notebook_modification_function(notebook_content, notebook_filename):
code_lines.append("%pip install plotly")
if "skimage" in notebook_content_str:
code_lines.append("%pip install scikit-image")
if "polars" in notebook_content_str:
code_lines.append("%pip install polars")
if "fetch_" in notebook_content_str:
code_lines.extend(
[
Expand Down

0 comments on commit 5214a86

Please sign in to comment.