plotnine.mapping.stage¶
- class plotnine.mapping.stage(start=None, after_stat=None, after_scale=None)[source]¶
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
- startexpression | numpy:array_like | scalar
Aesthetic expression using primary variables from the layer data.
- after_statexpression
Aesthetic expression using variables calculated by the stat.
- after_scaleexpression
Aesthetic expression using aesthetics of the layer.