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
scaleFillManual
If domain of scale is numerical, scaleFillManual works like a continuous scale, even though it should work as discrete:
val yy = listOf(1, 2, 1, 2) val cc = listOf(1, 2, 3, 4) letsPlot() + geomTile() { x = xx y = yy fill = cc } + scaleFillManual(values = listOf("red", "green", "blue", "yellow"), limits = listOf(1, 2, 3, 4))
The text was updated successfully, but these errors were encountered:
If limits are not specified, it works correctly:
limits
Sorry, something went wrong.
This is expected behavior: scales created for a continuous (numeric) domain are continuous. Try asDiscrete() to annotate the domain as discrete.
asDiscrete()
No branches or pull requests
If domain of scale is numerical,
scaleFillManual
works like a continuous scale, even though it should work as discrete:The text was updated successfully, but these errors were encountered: