We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
as_discrete()
The scale name is not applied when as_discrete() is used:
from lets_plot import * from lets_plot.mapping import as_discrete LetsPlot.setup_html() dat2 = dict( x = ["a", "a", "b"], ) (ggplot(dat2) + geom_bar(aes("x", fill=as_discrete("x"))) + scale_fill_manual(name="O", values=["red", "blue"], labels=['No', 'Yes']) )
Result:
Expected: the legend title should contains "O"
Notebook example: here
The text was updated successfully, but these errors were encountered:
cd0e317
OLarionova-HORIS
No branches or pull requests
The scale name is not applied when
as_discrete()
is used:Result:
Expected:
the legend title should contains "O"
Notebook example: here
The text was updated successfully, but these errors were encountered: