Dear Ryan and rbokeh folk:
Is there a way to name legend items correctly when they are
For instance, when we generate this figure:
ly_points(Sepal.Length, Sepal.Width, color=Species)
The legend generated for the colors of the points is correctly named
"Species", but say that we want to programmatically map the color to
an attribute, and we have something like:
colvar <- 'Species'
ly_points(Sepal.Length, Sepal.Width, color=colvar)
The name of the legend items for the colors is "colvar", but I'd still
like it to be "Species"
Any attempt to modify the legend parameter in the `ly_points` function
call complains that it can't be touched since it's automatically
generated, so not sure how to proceed.
Is this supported yet, or?