Skip to content

Commit f619cd9

Browse files
esantorellafacebook-github-bot
authored andcommitted
Fix interactive Plotly figures by specifying ipywidgets version (#1273)
Summary: Context: Interactive figures on the website have not been displaying properly: ![image](https://user-images.githubusercontent.com/9137425/203114657-fb06925d-d798-483f-9be6-c300357cf955.png) This happens because the newest version of Plotly is not compatible with the newest version if its dependency ipywidgets, which is needed for interactive figures: plotly/plotly.py#3686 So we can fix this by specifying the ipywidgets version. Pull Request resolved: #1273 Test Plan: - Reproduced the error with latest Ax + latest boTorch on my Mac - Then it went away when I re-built with the specified ipywidgets version Reviewed By: bernardbeckerman Differential Revision: D41438932 Pulled By: esantorella fbshipit-source-id: f6b2f430da1483a4613dac8f81a76dbc6f6dd4cb
1 parent 6c61c46 commit f619cd9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
"pandas",
2626
"scipy",
2727
"scikit-learn",
28+
# ipywidgets 8.0.0 is incompatible with Plotly >=5.7.0
29+
# https://github.com/plotly/plotly.py/issues/3686
30+
"ipywidgets<8.0.0",
2831
"plotly",
2932
"typeguard",
3033
]

0 commit comments

Comments
 (0)