putIn

Put an element into a plot/facets struct

This basically reverses a call to put and allows one to write more idiomatic D code where code flows from left to right instead of right to left.

ref
putIn
(
T
U
)
(
T t
,
U u
)

Examples

auto gg = data.aes.geomPoint.putIn(GGPlotD());
// instead of
auto gg = GGPlotD().put(geomPoint(aes(data)));

Meta