You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
According to the "Exporting to Streamlit" part of docs, after running the example code, it didn't display the HTML content and i found one Error in the browser Console. code is same as docs:
importstreamlitasstimportstreamlit.components.v1ascomponentsfrompathlibimportPathimportpandasaspdimportluxdefapp():
st.title('Analysis of Happy Planet Index Dataset')
st.write('Check out these cool visualizations!')
df=pd.read_csv("https://raw.githubusercontent.com/lux-org/lux-datasets/master/data/hpi.csv")
export_file='visualizations.html'html_content=df.save_as_html(output=True)
components.html(html_content, width=800, height=350)
app()
Screenshots
Displayed:
Error found:
Expected behavior
Displayed according to docs:
Could you tell me how to solve this problem?ah..... i'm not skilling at JavaScript related....pls, thanks
The text was updated successfully, but these errors were encountered:
Describe the bug
According to the "Exporting to Streamlit" part of docs, after running the example code, it didn't display the HTML content and i found one Error in the browser Console. code is same as docs:
Screenshots
Displayed:
Error found:
Expected behavior
Displayed according to docs:
Could you tell me how to solve this problem?ah..... i'm not skilling at JavaScript related....pls, thanks
The text was updated successfully, but these errors were encountered: