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
Generate a legend for aes with multiple features (such as both size and color), Example: ggplot(diamonds, aes(x=x,y=y,color=color, size=carat)) + geom_point()
The text was updated successfully, but these errors were encountered:
You're right! I didn't realize. But I think I've stumbled on a bug - it doesn't work when the DataFrame column for color is a CategoricalVector (apparently most/all? datasets from RDatasets.jl have categorical columns stored in that format). But I think this an upstream issue in Makie:
It's strange - I actually convert the Strings to CategoricalVectors under the hood already. Should be an easy fix I think, I'm sure I'm just missing a check somewhere
Describe how it works in R's
ggplot2
ggplot(diamonds, aes(x=x,y=y,color=color)) + geom_point()
ggplot(diamonds, @aes(x=Depth, y=Price)) + geom_point(@aes(color=Carat)) + geom_point(@aes(color=Table))
size
andcolor
), Example:ggplot(diamonds, aes(x=x,y=y,color=color, size=carat)) + geom_point()
The text was updated successfully, but these errors were encountered: