Open caspercrause opened 3 years ago
pyramid_chart()
does not return a ggplot
but a patchwork
of two plots combined side-by-side. To apply a new theme to both sub-plots use & theme_ng()
rather than + theme_ng()
.
You learn something every day. Thank you ! I'll remember that trick!
It changed the theme, but still does not quite give what I expected:
Hey Thomas, I found a bug when creating a pyramid chart and trying to change the theme.
I have data where a bank account is debited or credited. I aggregated the data by month an tried to show the monthly inflow against the monthly outflow.
Which works as expected.
When trying to change the theme, only half of the graph is changed as shown here:
![image](https://user-images.githubusercontent.com/60570140/97587052-a5928880-1a03-11eb-90a9-d20c02f0ce11.png)