Skip to content

Commit 7212681

Browse files
committed
fix barcelona flows svg path
1 parent c8c0a66 commit 7212681

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

vignettes/flowmaps-static.qmd

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ base_plot_districts <- ggplot() +
181181
axis.text = element_blank(),
182182
axis.ticks = element_blank(),
183183
axis.title = element_blank(),
184-
panel.background = element_rect(fill = 'transparent'),
185-
plot.background = element_rect(fill = 'transparent', color = NA),
184+
panel.background = element_rect(fill = "transparent"),
185+
plot.background = element_rect(fill = "transparent", color = NA),
186186
panel.grid.major = element_blank(),
187187
panel.grid.minor = element_blank()
188188
) +
@@ -311,12 +311,12 @@ base_plot_barcelona <- ggplot() +
311311
axis.text = element_blank(),
312312
axis.ticks = element_blank(),
313313
axis.title = element_blank(),
314-
panel.background = element_rect(fill = 'transparent'),
315-
plot.background = element_rect(fill = 'transparent', color = NA),
314+
panel.background = element_rect(fill = "transparent"),
315+
plot.background = element_rect(fill = "transparent", color = NA),
316316
panel.grid.major = element_blank(),
317317
panel.grid.minor = element_blank()
318318
) +
319-
guides(fill = 'none')
319+
guides(fill = "none")
320320
321321
# flows_by_ca_twoway_coords |> arrange(desc(flow_ab))
322322
# add the flows
@@ -369,7 +369,7 @@ ggsave(
369369
)
370370
```
371371

372-
![](../man/figures/flows_plot_barcelona.png)
372+
![](../man/figures/flows_plot_barcelona.svg)
373373

374374
## Advanced example - aggregate flows for `{spanishoddata}` logo {#advanced-example}
375375

@@ -619,12 +619,12 @@ base_plot <- ggplot() +
619619
axis.text = element_blank(),
620620
axis.ticks = element_blank(),
621621
axis.title = element_blank(),
622-
panel.background = element_rect(fill = 'transparent'),
623-
plot.background = element_rect(fill = 'transparent', color = NA),
622+
panel.background = element_rect(fill = "transparent"),
623+
plot.background = element_rect(fill = "transparent", color = NA),
624624
panel.grid.major = element_blank(),
625625
panel.grid.minor = element_blank()
626626
) +
627-
guides(fill = 'none')
627+
guides(fill = "none")
628628
629629
# flows_by_ca_twoway_coords |> arrange(desc(flow_ab))
630630
# add the flows

0 commit comments

Comments
 (0)