Skip to content

Commit

Permalink
Merge pull request drieslab#967 from josschavezf/suite_dev
Browse files Browse the repository at this point in the history
Fix error in `plotInteractivePolygons()`
  • Loading branch information
josschavezf authored Jun 3, 2024
2 parents 8a6d25a + 1e8c502 commit 2a74ed0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Giotto 4.0.10 TBD

## Bug fixes
* Fix error in `plotInteractivePolygons()` when providing a spatial plot with a continuous scale

# Giotto 4.0.9

Expand Down
6 changes: 4 additions & 2 deletions R/interactivity.R
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,10 @@ plotInteractivePolygons <- function(
x +
geom_polygon(
data = clicklist(),
aes(x, y, color = name, fill = name),
alpha = 0, ...
aes(x, y, color = name),
alpha = 0,
show.legend = FALSE,
...
) +
coord_fixed(
xlim = c(input$xrange[1], input$xrange[2]),
Expand Down

0 comments on commit 2a74ed0

Please sign in to comment.