plotnine.stage

stage(start=None, after_stat=None, after_scale=None)

Stage allows you evaluating mapping at more than one stage

You can evaluate an expression of a variable in a dataframe, and later evaluate an expression that modifies the values mapped to the scale.

Parameters

start : str | array_like | scalar = None

Aesthetic expression using primary variables from the layer data.

after_stat : str = None

Aesthetic expression using variables calculated by the stat.

after_scale : str = None

Aesthetic expression using aesthetics of the layer.