I'm plotting a beeswarm plot for shap values in R with shapviz
command. I'm using the following code:
sv_importance(shp1, kind= "beeswarm")
However, I would like to increase the transparency of the dots in the plot. Do you have any suggestions about how to do it? Thanks!
It is easy: just pass alpha
to sv_importance()
, like this:
sv_importance(shp1, kind= "beeswarm", alpha = 0.2)
You can also set dot size
or beeswarm width
etc.
Disclaimer: I am the author of "shapviz"