Skip to content

Commit

Permalink
landmass caption improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorcampbell committed Nov 11, 2023
1 parent cc7d936 commit 18b7caa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/viz.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ Thus we use the `fill` argument inside `labs` to change that to "Type."
Finally, we again \index{ggplot!reorder} use the `theme` function
to change the font size.

```{r 03-data-islands-bar-4, warning = FALSE, message = FALSE, fig.width=5, fig.height=2.75, fig.align="center", fig.pos = "H", out.extra="", fig.cap = "Bar plot of size for Earth's largest 12 landmasses colored by whether its a continent with clearer axes and labels."}
```{r 03-data-islands-bar-4, warning = FALSE, message = FALSE, fig.width=5, fig.height=2.75, fig.align="center", fig.pos = "H", out.extra="", fig.cap = "Bar plot of size for Earth's largest 12 landmasses, colored by landmass type, with clearer axes and labels."}
islands_bar <- ggplot(islands_top12,
aes(x = size,
y = fct_reorder(landmass, size, .desc = TRUE),
Expand Down

0 comments on commit 18b7caa

Please sign in to comment.