Skip to content
Browse files

geom_crossbar: change notch outside hinge warning to message

  • Loading branch information...
1 parent 07f7364 commit 0eb56e819d827d1ddfdbf9e5eb662f879c7b664c @wch wch committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 R/geom-crossbar.r
View
2 R/geom-crossbar.r
@@ -39,7 +39,7 @@ GeomCrossbar <- proto(Geom, {
if (has_notch) {
if (data$ynotchlower < data$ymin || data$ynotchupper > data$ymax)
- warning("notch went outside hinges. Try setting notch=FALSE.")
+ message("notch went outside hinges. Try setting notch=FALSE.")
notchindent <- (1 - data$notchwidth) * (data$xmax - data$xmin) / 2

0 comments on commit 0eb56e8

Please sign in to comment.
Something went wrong with that request. Please try again.