Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 72416

Python Jupyter notebook SHAP force_plot, how to change the background color or text color in the dark theme?

$
0
0

enter image description here

Is there any way that I can change the shap plot background color or text color in the dark theme? I need either the white background or white text.

The plot is an object of IPython.core.display.HTML.

It is generated by

shap.force_plot(explainer.expected_value[1], shap_values[1][0,:], X_test.iloc[0,:],link="logit")

Thanks for the help!


Viewing all articles
Browse latest Browse all 72416

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>