Last active
March 22, 2022 02:50
-
-
Save 33eyes/1201f7dac47283a684fb3d036b354075 to your computer and use it in GitHub Desktop.
How to render Plotly in Jupyterlab on SageMaker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from IPython.display import HTML | |
import plotly.express as px | |
# Create Plotly fig objects in plotly as usual, and then use HTML(fig.to_html()) to render them in Jupyterlab on SageMaker. | |
# Or just write to html file: fig.write_html("fig.html") and view it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment