From 1160338a082158464aecdc2a50bc0eb11bed358b Mon Sep 17 00:00:00 2001 From: Bob Rudis Date: Thu, 6 Aug 2015 18:08:53 -0400 Subject: [PATCH] this is a sign i shld stop for the day --- R/plugins.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/plugins.R b/R/plugins.R index a321490..9a190c3 100644 --- a/R/plugins.R +++ b/R/plugins.R @@ -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.") }