Skip to content

Commit b1c3165

Browse files
committed
Rebuild docs
1 parent 984503f commit b1c3165

File tree

6 files changed

+22
-8
lines changed

6 files changed

+22
-8
lines changed

NEWS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
* Updated to use new inset shape definition style from {ggmapinset}.
44
There is no longer a need to override the `configure_inset()` function
55
which was brittle and depended on order of package attachment to work.
6+
* Require a newer version of {ggmapinset} to fix a confusing behaviour
7+
where a geom with no inset configured could sometimes draw two copies
8+
of itself (#5).
69
* `stat_geoscatter()` and `geom_geoscatter()` now use a fixed seed by
710
default so that the position of scattered points is reproducible.
811
The old behaviour can be restored by setting `seed = NA`.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ ggplot(nc_type_example_2, aes(location = county)) +
9999
coord_automap(feature_type = "sf.nc")
100100
```
101101

102-
<img src="man/figures/README-example-basic-1.png" width="100%" />
102+
<img src="man/figures/README-example-basic-1.png" alt="" width="100%" />
103103

104104
``` r
105105
ggplot(nc_type_example_2, aes(location = county)) +
@@ -109,4 +109,4 @@ ggplot(nc_type_example_2, aes(location = county)) +
109109
coord_automap(feature_type = "sf.nc")
110110
```
111111

112-
<img src="man/figures/README-example-basic-2.png" width="100%" />
112+
<img src="man/figures/README-example-basic-2.png" alt="" width="100%" />
-3.13 KB
Loading
-558 Bytes
Loading

man/geoscatter.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vignettes/ggautomap.Rmd

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,9 @@ covid_cases_nsw |>
135135
ggplot(aes(location = lhd)) +
136136
geom_choropleth() +
137137
geom_boundaries(
138-
feature_type = "nswgeo.lhd", colour = "black", linewidth = 0.1,
138+
feature_type = "nswgeo.lhd",
139+
colour = "black",
140+
linewidth = 0.1,
139141
outline.aes = list(colour = NA)
140142
) +
141143
geom_inset_frame() +
@@ -149,8 +151,14 @@ covid_cases_nsw |>
149151
units = "km",
150152
scale = 5,
151153
translation = c(400, -100)
152-
)) +
153-
scale_fill_steps(low = "#e6f9ff", high = "#00394d", n.breaks = 5, na.value = "white") +
154+
)
155+
) +
156+
scale_fill_steps(
157+
low = "#e6f9ff",
158+
high = "#00394d",
159+
n.breaks = 5,
160+
na.value = "white"
161+
) +
154162
theme_void()
155163
```
156164

@@ -207,7 +215,8 @@ covid_cases_nsw |>
207215
geom_choropleth() +
208216
geom_boundaries(feature_type = "nswgeo.lhd") +
209217
geom_inset_frame() +
210-
geom_sf_label_inset(aes(label = lhd),
218+
geom_sf_label_inset(
219+
aes(label = lhd),
211220
stat = "automap_coords",
212221
data = ~ dplyr::slice_head(.x, by = lhd)
213222
) +
@@ -221,7 +230,8 @@ covid_cases_nsw |>
221230
units = "km",
222231
scale = 3.5,
223232
translation = c(350, 0)
224-
)) +
233+
)
234+
) +
225235
labs(x = NULL, y = NULL) +
226236
theme_void()
227237
```

0 commit comments

Comments
 (0)