Skip to main content

Module aes

Module aes 

Source

Re-exports§

pub use mapping::apply_after_stat;
pub use mapping::resolve_mappings;

Modules§

expr
A tiny arithmetic expression evaluator for computed aesthetics — so aes can map e.g. "pop / 1e6", "log(gdp)", or "a * b + 1" instead of a bare column name. Anything that isn’t an existing column is parsed and evaluated per row against the data’s numeric columns.
mapping

Structs§

Aes
Builder for aesthetic mappings.
AesMapping
Maps a source column to an aesthetic channel.
AfterScaleSpec
A post-scale aesthetic derivation (R’s after_scale): the target color aesthetic is set to the source aesthetic’s mapped color, adjusted in lightness (+ toward white, - toward black, in -1.0..=1.0).

Enums§

Aesthetic
All supported aesthetic channels.
MappingStage
When an aesthetic mapping should be resolved.