Topic Thread

Writing Out an Interactive HTML file in an IBM Watson Studio Project

  • 1.  Writing Out an Interactive HTML file in an IBM Watson Studio Project

    Posted Tue May 18, 2021 12:22 PM
    Hi,

    I've produced an interactive plot with plotly in IBM Watson Studio and now would like to output it to an html file (preserving the interactive features) within the project space. This would then enable me to download it and view the interactive plot offline.

    Does anyone know how to adopt this line of code to write a plot figure to an html file in IBM Watson Studio?

    import plotly.express as px
    fig.write_html("path/to/file.html")

    Thanks in advance,
    Elena

    ------------------------------
    Elena Rudakova
    ------------------------------