Skip to content

Annotation logticks outside - #3783

Merged
clauswilke merged 13 commits into
tidyverse:masterfrom
kbodwin:annotation_logticks_outside
Mar 5, 2020
Merged

clauswilke merged 13 commits into
tidyverse:masterfrom
kbodwin:annotation_logticks_outside

Conversation

@kbodwin

@kbodwin kbodwin commented Jan 31, 2020 •

Copy link
Copy Markdown
Contributor

Allows logticks to be outside of plotting pane, when used with coord_cartesian(clip = "off")

Fixes #3660

Comment thread R/annotation-logticks.r Resolved
Comment thread R/annotation-logticks.r Resolved
@hadley hadley added the tidy-dev-day 🤓 Tidyverse Developer Day label Jan 31, 2020
@clauswilke

Copy link
Copy Markdown
Member

Please merge in master so the CI doesn't break anymore. Thanks!

@thomasp85

Copy link
Copy Markdown
Member

Last step is to add a small note on the new feature to the NEWS.md file. After that it is good to go

Comment thread NEWS.md Outdated
# ggplot2 3.3.0

* Added an `outside` option to `annotation_logticks()` that places tick marks
outside of the plot bounds. (#3783, @kbodwin)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making this change. Unfortunately I'll have to request one more modification. I think your news item is in the wrong location in the News file. This feature won't make it into ggplot2 3.3.0, as that version has already been branched off.

Could you move your entry to above the ggplot2 3.3.0 heading?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, sorry!

Comment thread R/annotation-logticks.r Outdated
#' It can be set to a string containing any of `"trbl"`, for top, right,
#' bottom, and left.
#' @param outside logical that controls whether to move the log ticks outside
#' of the plot area. Default is off (FALSE). You will also need to use

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies, one last thing (I promise): Please put FALSE into backticks.

@thomasp85

Copy link
Copy Markdown
Member

@clauswilke and @kbodwin do you want to finish this off?

@clauswilke

Copy link
Copy Markdown
Member

@kbodwin Please let me know if you're in a position to resolve the conflict and make the final edit. Otherwise I can probably go into your PR and make the final changes myself.

@clauswilke clauswilke self-assigned this Mar 3, 2020
@kbodwin

kbodwin commented Mar 5, 2020

Copy link
Copy Markdown
Contributor Author

Done; sorry to miss that last tweak.

@clauswilke
clauswilke merged commit 02c2a9c into tidyverse:master Mar 5, 2020
@clauswilke

Copy link
Copy Markdown
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tidy-dev-day 🤓 Tidyverse Developer Day

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: annotation_logticks() tick marks on the outside

4 participants