Skip to content

Commit

Permalink
Merge pull request #32 from hrbrmstr/dev
Browse files Browse the repository at this point in the history
& ! |
  • Loading branch information
hrbrmstr committed Aug 6, 2015
2 parents 1d10c99 + 6649743 commit 95a0cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plugins.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ tau_tooltip <- function(tau, fields = NULL) {
#' tau_legend()
tau_legend <- function(tau) {

if ((!is.null(tau$x$color)) | (!is.null(tau$x$size))) {
if ((!is.null(tau$x$color)) & (!is.null(tau$x$size))) {
message("Neither color nor size aesthetics have been mapped. Legend plugin will be active but not displayed.")
}

Expand Down

0 comments on commit 95a0cf9

Please sign in to comment.