Skip to content

Commit

Permalink
Fix for working with ggplot2_3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-m-lenz committed Aug 7, 2019
1 parent 3b11ed2 commit 010dbb6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/plotting.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ singleEvaluationPlot <- function(plotdata) {
ggtitle(plottitle) + theme_light()

if (!is.null(plotdata$rangemin)) {
p <- p + geom_ribbon(x = plotdata$Epoch,
ymin = plotdata$rangemin,
ymax = plotdata$rangemax,
p <- p + geom_ribbon(aes(x = Epoch,
ymin = rangemin,
ymax = rangemax),
alpha = 0.1)
}
p
Expand Down

0 comments on commit 010dbb6

Please sign in to comment.