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

Getting this error when the graph has no edges. Still results in a plot, but it's a bit weird. #9

Open
ryanpeach opened this issue Aug 2, 2018 · 1 comment

Comments

@ryanpeach
Copy link

ryanpeach commented Aug 2, 2018

/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/altair/utils/core.py:81: UserWarning: I don't know how to infer vegalite type from 'empty'. Defaulting to nominal.

Maybe we should test as to whether or not there are edges or nodes in the graph before making charts.

@Zsailer
Copy link
Owner

Zsailer commented Aug 3, 2018

You're right. We should probably catch+hide this warning. Some people might be interested in drawing a network with no edges.

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

No branches or pull requests

2 participants