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

BUG: html renderer: support multiple views in JupyterLab #1986

Merged
merged 1 commit into from
Feb 26, 2020

Conversation

jakevdp
Copy link
Collaborator

@jakevdp jakevdp commented Feb 25, 2020

Fixes #1984

The fallback after getPreviousElementSibling is because in classic Notebook, the script is executed with "<head>" as the parent node, so the div cannot be located in this manner.

I've tested this in JupyterLab (with multiple views), Jupyter Notebook, Colab, and nbconvert HTML, all work correctly.

@jasongrout, please let me know if you see any issues with this.

@jakevdp jakevdp merged commit feef72a into vega:master Feb 26, 2020
@jakevdp jakevdp deleted the new-renderer branch February 26, 2020 04:33
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

Successfully merging this pull request may close these issues.

Multiple views in JupyterLab blank with default html renderer
1 participant