-
-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
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
Charts should enforce a single kdim #1668
Comments
The PandasInterface had to add some special handling because this is not done yet, should do this soon. |
There is some discussion to be had here, now that bokeh supports nested categorical axes and certain elements like Bars, BoxWhisker and soon Violin plot treat multiple kdims as nested categoricals it may be worth considering whether all Chart like elements should do this. For example take this example: If I wanted to overlay Scatter points on top, I'd currently have no way of doing so but if Scatter treated two kdims as nested categoricals it would work fine. |
Sounds like valid reasoning to me! |
I would have liked to have done this for 1.11 but it's a big task, so bumping to 1.12. |
Sadly I forgot to go through with the plan we had come with here for 1.13.0, which was to explicitly disallow 2 key dimensions on charts. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The following works when it should be disallowed:
With a dataframe with enough columns, multiple kdims can be declared on curve (for instance) when only one should ever be allowed.
The text was updated successfully, but these errors were encountered: