Skip to content

Commit

Permalink
Use geom_tile() due to tidyverse/ggplot2#1707
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpghayes committed Aug 27, 2024
1 parent a538334 commit 34886a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plotting.R
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ plot_dense_matrix <- function(A, ...) {
long <- dplyr::mutate_all(long, as.numeric)

ggplot(long, aes(x = col, y = row, fill = value)) +
geom_raster() +
geom_tile() +
scale_y_reverse() +
theme_minimal() +
labs(
Expand Down

0 comments on commit 34886a1

Please sign in to comment.