plotnine.themes.themeable.strip_align_yΒΆ

class plotnine.themes.themeable.strip_align_y(theme_element: Any = None)[source]ΒΆ

Bases: themeable

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

Parameters:
theme_elementfloat

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