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

feature request - display chart from filename/url #86

Closed
iliatimofeev opened this issue May 12, 2018 · 2 comments
Closed

feature request - display chart from filename/url #86

iliatimofeev opened this issue May 12, 2018 · 2 comments

Comments

@iliatimofeev
Copy link

Is it possible to show char from url like IPython.display.Image('my_image.png') do?

from vega import VegaLite
VegaLite(url='bar_chart_with_labels.vl.json')
@domoritz
Copy link
Member

You can load the json from file and pass the parsed dict.

With #33, you would be able to pass the file content directly but we don't support that yet.

@domoritz
Copy link
Member

In the spirit of separation of concerns, I would say that loading a parsing JSON is simple enough in Python and should be handled outside of this library.

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