Skip to content

Commit bed04e0

Browse files
committed
fix: support for colors in left join
1 parent b6bb819 commit bed04e0

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

main.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ is_2d_histogram <- lapply(ctx$schema$columns, "[[", "name") %>%
2323
all()
2424

2525
ds <- get_data_step(ctx)
26-
2726
df <- getValues(ctx, is_2d_histogram)
2827
pl <- get_palettes(ds)
2928

utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ getValues <- function(ctx, is_2d_histogram = FALSE) {
215215
left_join(
216216
data %>%
217217
rename(.ci_y = .ci) %>%
218-
select(-any_of(c(".axisIndex", ".x", ".x_bin_size", "text_labels", ".histogram_count"))),
218+
select(-any_of(c(".axisIndex", ".x", ".x_bin_size", "text_labels", ".histogram_count", unlist(unique(ctx$colors))))),
219219
by = c("rid", ".ci_y"),
220220
relationship = "many-to-many"
221221
) %>%

0 commit comments

Comments
 (0)