Skip to content
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

Coordinates should accept single categorical values #6660

Open
bryevdv opened this issue Jul 21, 2017 · 0 comments
Open

Coordinates should accept single categorical values #6660

bryevdv opened this issue Jul 21, 2017 · 0 comments
Milestone

Comments

@bryevdv
Copy link
Member

bryevdv commented Jul 21, 2017

Categorical coordinates can only easily be passed in CDS columns. Trying to pass a single values results in this:

# nonexistent column name error
p.circle("foo", "bar", line_width=7, size=50, **options)

# property validation error (expects a number)
p.circle(value("foo"), value("bar"), line_width=7, size=50, **options)

# works but clunky
p.circle(["foo"], ["bar"], line_width=7, size=50, **options)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant