theme_transparent
theme_transparent()Transparent-background theme fragment.
A small theme fragment that makes the plot, panel and legend backgrounds transparent. Add it to any theme for slide-friendly exports; the transparent argument of theme_ezrsurvey() applies it for you.
Returns
| Name | Type | Description |
|---|---|---|
| plotnine.theme | A theme fragment. |
See Also
theme_ezrsurvey
Examples
>>> p = plot_bars(calc_percentage(podracing_survey, "demo_gender"))
>>> p + theme_transparent()