Re: [web2py] Embed Plotly Express in Web2PY

2024-01-25 Thread Al Ex
in controller ``` import plotly.express as px def my_view(): # Assuming df_dataframe is your Pandas DataFrame fig = px.line(df_dataframe, x="datetime", y="load_avg_fifteen") # Convert the figure to HTML plotly_chart = fig.to_html(full_html=False, include_plotlyjs='cdn')

[web2py] Embed Plotly Express in Web2PY

2024-01-25 Thread Jitun John
I would like to embed something on the following lines *import plotly.express as pxfig = px.line(df_dataframe, x="datetime", y="load_avg_fifteen")* show it in html page similar to ** At present I am using HighCharts js, but as I totally work on pandas dataframes.. I imagine it is far more

[web2py] Plotly Express Charts in web2py

2024-01-25 Thread Jitun John
I would like to embed something on the following lines *import plotly.express as pxfig = px.line(df_dataframe, x="datetime", y="load_avg_fifteen")* show it in html page similar to ** At present I am using HighCharts js, but as I totally work on pandas dataframes.. I imagine it is far more