knime interactive view with shap force plot

Hello.

I’m working on Python based KNIME Extension - type “knext.NodeType.VISUALIZER”.

I got an error when i tried to view shap.force_plot :

while in jupyter notebook i got the result:

the line i used from shap:

shap_html=shap.force_plot(explainer.expected_value,
shap_values_list,feature_names=list(df_panel.columns), show=False)

and i do have shap.initjs() in the “execute” function that in the extension file

any solution?

Thanks in advance,

Hagay