Skip to content

Commit

Permalink
fix ggplot legend #182
Browse files Browse the repository at this point in the history
  • Loading branch information
teng-gao committed Sep 18, 2024
1 parent d21a5b1 commit a1c71ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/vis.R
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ plot_psbulk = function(
p = p + geom_point(
aes(shape = str_detect(state_post, '_2'), alpha = str_detect(state_post, '_2')),
size = dot_size,
na.rm = TRUE
na.rm = TRUE,
show.legend = TRUE
) +
geom_hline(
data = data.frame(y = c(0,1), variable = 'pHF'),
Expand Down

0 comments on commit a1c71ee

Please # to comment.