Skip to content

Commit

Permalink
add NA handling to gt_plt_dist
Browse files Browse the repository at this point in the history
  • Loading branch information
jthomasmock committed Jul 28, 2023
1 parent 499a664 commit ff80bca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/gt_plt_dist.R
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ gt_plt_dist <- function(gt_object,
color = line_color,
fill = fill_color
) +
xlim(range(density_range)) +
xlim(range(density_range, na.rm = TRUE)) +
coord_cartesian(
xlim = range(total_rng_dens, na.rm = TRUE),
expand = TRUE,
Expand Down

0 comments on commit ff80bca

Please sign in to comment.