Skip to content

Commit

Permalink
fix legend in chart
Browse files Browse the repository at this point in the history
  • Loading branch information
randrescastaneda committed Dec 9, 2024
1 parent fed4d4b commit e451617
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions vignettes/articles/get-gd-example.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ get_gd(
cum_population = datt_rural$p,
estimate = "lorenz",
lorenz = "lb",
n_bins = 100,
n_bins = 10,
server = "dev"
)
```
Expand Down Expand Up @@ -155,10 +155,12 @@ ggplot(poverty_stats, aes(x = poverty_line)) +
labs(
title = "Poverty Measures vs. Poverty Line, Rural India 1983",
x = "Poverty Line",
y = "Measure Value",
y = "Poverty Measure (FGT indices)",
color = "Poverty Measure"
) +
theme_minimal()
theme_minimal() +
theme(legend.position = "bottom",
legend.title = element_blank())
```

### Lorenz Curve Data
Expand Down

0 comments on commit e451617

Please sign in to comment.