-
Notifications
You must be signed in to change notification settings - Fork 279
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
fix: mo.ui.altair_chart when give by the user #2924
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
if _has_selection_param(chart): | ||
# Log a warning if the user has set chart_selection | ||
# but the chart already has a selection param | ||
print("chart_selection", chart_selection) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
print("chart_selection", chart_selection) |
if _has_legend_param(chart): | ||
# Log a warning if the user has set legend_selection | ||
# but the chart already has a legend param | ||
print("legend_selection", legend_selection) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
print("legend_selection", legend_selection) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good except for some print statements that got left in
Fixes #2901
If selection params are already added by the users, we should not automatically the default chart/legend selection and just use the users.