pbiecek / ceterisParibus

Ceteris Paribus Plots (What-If plots) for explanations of a single observation
https://pbiecek.github.io/ceterisParibus/
41 stars 13 forks source link

ggiraph::ggiraph is replaced by ggiraph::girafe #24

Open davidgohel opened 1 year ago

davidgohel commented 1 year ago

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 commented 3 months ago

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