ipeadata-lab / ipeaplot

ipeaplot: criando graficos no padrão editorial do Ipea
https://ipeadata-lab.github.io/ipeaplot/
Other
2 stars 0 forks source link

theme_ipea não funcionando em mapa #28

Closed PedroJorge7 closed 1 year ago

PedroJorge7 commented 1 year ago

image

PedroJorge7 commented 1 year ago

Correção foi feita. Contudo, o mapa atualmente só funciona em casos de axis_lines = 'full' ou axis_lines = 'none'

ggplot() + geom_sf(data = df3, aes(fill = e_anosestudo), color = NA) + geom_sf(data = uf, color = "black", fill = NA) + ggtitle("Média de anos de estudo") + scale_fill_ipea(palette = 'Orange-Blue', name='Anos de\nestudo') + theme_ipea(axis_lines = 'full', include_ticks = F, axis_values = F)