Semi-transparency is not supported

2,419 views
Skip to first unread message

Jonathan Koerner

unread,
Sep 1, 2017, 5:20:42 PM9/1/17
to ggplot2
When rendering a ggplot with semi transparancy (0 >alpha <1).  I get the following warning:

Warning in grid.Call.graphics(L_polygon, x$x, x$y, index) :
  semi-transparency is not supported on this device: reported only once per page

I am able to see a correct version when calling x11(type ="cairo"); however, the proper image doesn't make it on to the shiny.
 
The ggplot command is ggplot(data) + geom_density(aes(x=value, fill=variable),alpha = 0.3).

Anyone have a work around?
Message has been deleted

Pete St Marie

unread,
Sep 3, 2017, 2:16:26 PM9/3/17
to ggplot2
Possibly this: http://tinyheero.github.io/2015/09/15/semi-transparency-r.html


N.B., these were the top two results from just Google searching the complete text of the warning.

--pete
Reply all
Reply to author
Forward
0 new messages