Skip to content

Commit

Permalink
Fix legend plot (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kucharssim committed Aug 23, 2023
1 parent f8a5d82 commit 355735f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/PlotPriorAndPosterior.R
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ makeLegendPlot <- function(groupingVariable, colors = NULL, fill = NULL, linetyp

legendPlot <- ggplot(data = dfLegendPlot, aes(x = .data$x, y = .data$y, xend = .data$xend, yend = .data$yend, label = .data$l)) +
ggplot2::geom_segment(mapping = aes(color = .data$y, linetype = .data$y), show.legend = FALSE,
size = 1.15 * jaspGeomLine$default_aes$size) +
linewidth = 1.15 * jaspGeomLine$default_aes$linewidth) +
ggplot2::geom_text(nudge_x = 0.15, size = .35 * getGraphOption("fontsize"), hjust = 0,
parse = parse) +
ggplot2::xlim(c(0, 1)) +
Expand Down

0 comments on commit 355735f

Please sign in to comment.