Skip to content

Commit

Permalink
Merge pull request #33 from hrbrmstr/dev
Browse files Browse the repository at this point in the history
this is a sign i shld stop for the day
  • Loading branch information
hrbrmstr committed Aug 6, 2015
2 parents 95a0cf9 + 1160338 commit fc76e44
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 fc76e44

Please sign in to comment.