You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of JuliaLang/julia#29333 julia 1.5 supports implicitly named keyword arguments, e.g. f(; x, y) is interpreted as f(; x=x, y=y). It would be nice to support a similar syntax in the @vlplot macro. I at least find myself typing something like @vlplot(:line, width=width, height=height, x=x, y=y) quite often when writing functions that compose a custom spec for which I want to expose some properties as method arguments.
The text was updated successfully, but these errors were encountered:
We just need to be a bit careful how that interacts with our existing positional arguments. But maybe just allowing this after a semicolon would be one option.
As of JuliaLang/julia#29333 julia 1.5 supports implicitly named keyword arguments, e.g.
f(; x, y)
is interpreted asf(; x=x, y=y)
. It would be nice to support a similar syntax in the@vlplot
macro. I at least find myself typing something like@vlplot(:line, width=width, height=height, x=x, y=y)
quite often when writing functions that compose a custom spec for which I want to expose some properties as method arguments.The text was updated successfully, but these errors were encountered: