maintian user privacy by keeping plotly offline

This commit is contained in:
robcaulk
2022-09-18 00:01:42 +02:00
parent 68f7a31504
commit 1ef875901a
2 changed files with 3 additions and 4 deletions

View File

@@ -191,5 +191,4 @@ def plot_feature_importance(model: Any, pair: str, dk: FreqaiDataKitchen,
fig = add_feature_trace(fig, fi_df_worst, 2)
fig.update_layout(title_text=f"Best and worst features by importance {pair}")
store_plot_file(fig, f"{dk.model_filename}-{label}.html", dk.data_path,
include_plotlyjs="cdn")
store_plot_file(fig, f"{dk.model_filename}-{label}.html", dk.data_path)