-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
multiple inside guide box with different position (#6210)
* multiple inside guide box with different position * merge guide legends depend on `legend.position.inside` only * fix inside legend justification * no inside guide box if no inside guide legends * add `guide-box-index` when there is no inside legends * fix inside guide box area * manage position in `Guides$assemble()` * revert * revert * revert * fix inside legend coordinates * fix test error * no need to prepare inside legends when empty * allow set the inside justification for each legend * test multiple inside legends with different positions * fix R CMD check error * code notes * Update R/guides-.R Co-authored-by: Teun van den Brand <[email protected]> * apply suggestion Co-authored-by: Teun van den Brand <[email protected]> * avoid modify package_box * accept snapshot * Update R/guides-.R Co-authored-by: Teun van den Brand <[email protected]> * accept the suggestion * new bullet * try to linearise logic * tweak formatting
- Loading branch information
Showing
4 changed files
with
187 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
85 changes: 85 additions & 0 deletions
85
tests/testthat/_snaps/guides/legend-inside-plot-multiple-positions.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters