ceterisParibus icon indicating copy to clipboard operation
ceterisParibus copied to clipboard

ggiraph::ggiraph is replaced by ggiraph::girafe

Open davidgohel opened this issue 2 years ago • 1 comments

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

davidgohel avatar Mar 17 '23 08:03 davidgohel

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;")))

davidgohel avatar May 17 '24 13:05 davidgohel