Skip to content

Commit 7ce467f

Browse files
committed
fix imports
1 parent ecdf37c commit 7ce467f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

R/plot.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
#' \code{\link{sd_plot_shape}}
2323
#'
2424
#' @import ggplot2
25+
#' @import ggplot2
2526
#' @export
2627
sd_plot <- \() ggplot() +
27-
#coord_sf(reverse="y") +
28-
#coord_equal() +
28+
coord_sf(reverse="y") +
2929
theme_bw() + theme(
3030
panel.grid=element_blank(),
3131
legend.key=element_blank(),

vignettes/SpatialData.Rmd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,7 @@ sd_plot() + sd_plot_label(x, c=c("lavender", "blue"))
158158
```
159159

160160
```{r fig.width=4, fig.height=4}
161-
sd_plot() +
162-
coord_sf(reverse="y") +
161+
sd_plot() +
163162
sd_plot_image(x) +
164163
sd_plot_label(x, c=rainbow(10), alpha=2/3) +
165164
sd_plot_shape(x, 3, fill="black", linewidth=1) +

0 commit comments

Comments
 (0)