-
Notifications
You must be signed in to change notification settings - Fork 31
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
Lightning renderer is broken inside ipywidgets.Output #36
Comments
This may take some digging around, but I think that using a unique On Mon, Nov 2, 2015 at 5:48 PM, Alejandro Guerrero Gonzalez <
Brian E. Granger |
Friendly ping :) Have you had a chance to take a look at this? |
Hi, We want to release a product that relies on the lightning renderer and this could block our shipping of it. We are anxiously waiting for some reply :) I am willing to work on it as long as I can get some guidance. cc. @ellisonbg @sangeethashekar Thanks! |
hey @aggFTW, sorry for the delay, I've been pulled away on other projects. It will be a couple days before I can really dig into it, but here is what I would recommend: When using lightning in the "headless" mode the template that renders the visualization is kept here: https://github.com/lightning-viz/lightning-python/blob/master/lightning/lib/template.html. I would recommend testing the change using lightning in local mode first and if this works we can apply the same change to the server. You can pass additional parameters to the template by adding to the |
Hey @aggFTW, coming back to this - could you help me reproduce? I'm following these steps:
I'm not sure what else I need to do to see the errors |
Hello, @ellisonbg and I are working on creating an Altair ipython widget to interact with the vegalite spec that gets passed to the lightning renderer. However, @ellisonbg found that the lightning renderer is broken inside ipywidgets.Output
Probably the easiest way to get a repro would be to install latest Altair and comment out the
create_render_view
method here: https://github.com/ellisonbg/altair/blob/master/altair/view.pyThen, from this notebook: https://github.com/ellisonbg/altair/blob/master/notebooks/WidgetView.ipynb
add this cell:
view.create_render_view(v1, shelves=('x','y','color','size'))
@ellisonbg might have better repro steps?
Issue is here: https://github.com/ellisonbg/altair/issues/82
@freeman-lab suggested opening an issue here for him and @mathisonian to take a look. Thanks!
The text was updated successfully, but these errors were encountered: