plotnine.themes.themeable.legend_text_colorbar

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

Bases: plotnine.themes.themeable.themeable

Colorbar text

Parameters:
theme_element : element_text

Notes

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