forked from tidyverse/ggplot2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into mikmart-tidyverse#2488-hex-aes
- Loading branch information
Showing
42 changed files
with
4,931 additions
and
6,364 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Configuration for lock-threads - https://github.com/dessant/lock-threads | ||
|
||
# Number of days of inactivity before a closed issue or pull request is locked | ||
daysUntilLock: 180 | ||
|
||
# Issues and pull requests with these labels will not be locked. Set to `[]` to disable | ||
exemptLabels: [] | ||
|
||
# Label to add before locking, such as `outdated`. Set to `false` to disable | ||
lockLabel: false | ||
|
||
# Comment to post before locking. Set to `false` to disable | ||
lockComment: > | ||
This old issue has been automatically locked. If you believe you | ||
have found a related problem, please file a new issue (with reprex) | ||
and link to this issue. <https://reprex.tidyverse.org/> | ||
# Stop lockbot from closing as "resolved" | ||
setLockReason: false | ||
|
||
# Limit to only `issues` or `pulls` | ||
# only: issues | ||
|
||
# Optionally, specify configuration settings just for `issues` or `pulls` | ||
# issues: | ||
# exemptLabels: | ||
# - help-wanted | ||
# lockLabel: outdated | ||
|
||
# pulls: | ||
# daysUntilLock: 30 |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#' @include ggplot-global.R | ||
#' @include ggproto.r | ||
NULL | ||
|
||
|
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Environment that holds various global variables and settings for ggplot, | ||
# such as the current theme. It is not exported and should not be directly | ||
# manipulated by other packages. | ||
ggplot_global <- new.env(parent = emptyenv()) | ||
|
||
# The current theme. Defined here only as placeholder, and defined properly | ||
# in file "theme-current.R". This setup avoids circular dependencies among | ||
# the various source files. | ||
ggplot_global$theme_current <- list() | ||
|
||
# Element tree for the theme elements. Defined here only as placeholder, and | ||
# defined properly in file "theme-elements.r". | ||
ggplot_global$element_tree <- list() | ||
|
||
# List of all aesthetics known to ggplot | ||
ggplot_global$all_aesthetics <- c( | ||
"adj", "alpha", "angle", "bg", "cex", "col", "color", | ||
"colour", "fg", "fill", "group", "hjust", "label", "linetype", "lower", | ||
"lty", "lwd", "max", "middle", "min", "pch", "radius", "sample", "shape", | ||
"size", "srt", "upper", "vjust", "weight", "width", "x", "xend", "xmax", | ||
"xmin", "xintercept", "y", "yend", "ymax", "ymin", "yintercept", "z" | ||
) | ||
|
||
# Aesthetic aliases | ||
ggplot_global$base_to_ggplot <- c( | ||
"col" = "colour", | ||
"color" = "colour", | ||
"pch" = "shape", | ||
"cex" = "size", | ||
"lty" = "linetype", | ||
"lwd" = "size", | ||
"srt" = "angle", | ||
"adj" = "hjust", | ||
"bg" = "fill", | ||
"fg" = "colour", | ||
"min" = "ymin", | ||
"max" = "ymax" | ||
) |
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
Oops, something went wrong.