-
Notifications
You must be signed in to change notification settings - Fork 251
Open
Labels
Description
The current syntax that is allowed for color mapping includes:
color=[colorant"red"](works with some, but not all, Geoms)color=["group label"]see example herecolor="population"orcolor=:population# refers to a column in a DataFramecolor=3# refers to a column in a DataFramecolor=Col.value()orcolor=Col.index()for wide-format data
So color="red" has multiple possible meanings.
Here and below are options for a new syntax.
Option 1)
color=["red"](alsocolor=[1]) are always group labels, andcolor="red"is a color or dataframe column