plotnine.mapping.after_scale¶
- plotnine.mapping.after_scale(x)[source]¶
Evaluate mapping after variable has been mapped to the scale
This gives the user a chance to alter the value of a variable in the final units of the scale e.g. the rgb hex color.
- Parameters
- x
python:str
An expression
- x
See also
after_stat()
For how to map aesthetics to variable calculated by the stat
stage
For how to map to aesthetics at more than one stage of the plot building pipeline.