plotnine.themes.themeable.legend_text_legend

class plotnine.themes.themeable.legend_text_legend(theme_element=None)[source]

Bases: plotnine.themes.themeable.themeable

Legend text for the common legend

Parameters:
theme_element : element_text

Notes

This themeable exists mainly to cater for differences in how the text is aligned, compared to the colorbar. Unless you experience those alignment issues (i.e when using parameters va or ha), you should use legend_text.