Include Plotly js lib
This commit is contained in:
2
utils.py
2
utils.py
@@ -131,7 +131,7 @@ def generate_plot(df: pd.DataFrame, title: str) -> str:
|
||||
fig = plot_funcs.get(num_columns, lambda: px.imshow(df.corr(numeric_only=True), text_auto=True, title=title))()
|
||||
|
||||
# Use static rendering for speed
|
||||
return pio.to_html(fig, full_html=False, include_plotlyjs='cdn', config={'staticPlot': True})
|
||||
return pio.to_html(fig, full_html=False, include_plotlyjs=False, config={'staticPlot': True})
|
||||
|
||||
|
||||
def calculate_estimated_1rm(weight, repetitions):
|
||||
|
||||
Reference in New Issue
Block a user