ITADN

Select single legend

#8Pull Requestteunbrand 创建于 2024-01-18已合并
bug
T
teunbrandcommented
Hello there, We have been preparing a new release of ggplot2 and during a reverse dependency check, it became apparent that the prospective ggplot2 3.5.0 would break tornado. In the new version, a plot can have multiple legend guide boxes, so the extracton method in the importance plot no longer works. This PR updates the function to deal with multiple legends, selecting the first that isn't empty. To test the code changes with the release candidate, you can install it with the code below: ```r remotes::install_github("tidyverse/ggplot2", ref = remotes::github_pull("5592")) ``` The release of ggplot2 3.5.0 is scheduled for the 12th of February. The progress of the release can be tracked in https://github.com/tidyverse/ggplot2/issues/5588. We hope that this PR might help tornado get out a fix if necessary.
合并状态:已合并 合并于 2024-01-19 关闭于 2024-01-19 1 条评论