Prior to this PR, strings such as "log", "sqrt", etc. (.scale "magic args") are invalid inputs to Color/Interval variables' scales (#2869). It is possible to define a Continuous(trans="log") scale and achieve continuous transformation functionality to these properties. So the following lines are equivalent but the former is currently erroneous:
This PR adds str transformations support directly to Color/Interval properties. It is resolved after property-specific arguments (i.e. .scale(color="log") will look for "log" colormap first and will apply "log" transformation only if there's no "log" colormap registered).
Prior to this PR, strings such as "log", "sqrt", etc. (.scale "magic args") are invalid inputs to Color/Interval variables' scales (#2869). It is possible to define a Continuous(trans="log") scale and achieve continuous transformation functionality to these properties. So the following lines are equivalent but the former is currently erroneous:
This PR adds str transformations support directly to Color/Interval properties. It is resolved after property-specific arguments (i.e.
.scale(color="log")
will look for "log" colormap first and will apply "log" transformation only if there's no "log" colormap registered).Fixes #2869 .