Deprecation warning from ggplot2: aes_string() used in FeatureEffect plots
Open
- Dominant language
- R
- Stars
- 503
- Forks
- 87
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
When using the iml package with recent versions of ggplot2, I get the following warning when plotting FeatureEffect objects (ALE, PDP):
Warning:
`aes_string()` was deprecated in ggplot2 3.0.0.
The deprecated feature was likely used in the iml package.
This occurs, for example, with:
FeatureEffect$new(predictor, feature = "lstat", method = "ale")
plot(...)
The plot is generated correctly, so this is not a critical issue, but the warning appears consistently and may be confusing for users (especially in teaching materials).
I understand this is due to ggplot2 changes, but I wanted to report it in case it is helpful for future updates.
Best regards,
Contributor guide
Assessment
This issue has not been assessed yet.