ceterisParibus
ceterisParibus copied to clipboard
ggiraph::ggiraph is replaced by ggiraph::girafe
Hello,
Function ggiraph should not be used (girafe() is replacing it since 2018) and we are going to remove it (https://github.com/davidgohel/ggiraph/issues/256)
Could you replace your call to ggiraph() by girafe()?
KR David
Hello
The next release of "ggiraph" will defunct ggiraph(), this will break 'ceterisParibus'.
https://github.com/pbiecek/ceterisParibus/blob/ded2d9dfce025ef467aa44a101ffd6710f23af99/R/plot_interactive_what_if.R#L74
You can replace this code by:
ggiraph::girafe(code = print(pl), options = list(opts_hover(css = "fill-opacity:.3;cursor:pointer;")))