plotnine.themes.themeable.strip_align

class plotnine.themes.themeable.strip_align(theme_element: Any = None)[source]

Bases: strip_align_x, strip_align_y

Alignment of the strip & its background w.r.t the panel border

Parameters:
theme_elementfloat

Value as a proportion of the strip text size. A good value should be the range \([-1, 0.5]\). A negative value puts the strip inside the axes and a positive value creates a space between the strip and the axes.