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

plotly-extension: Accept config object in data #168

Merged
merged 1 commit into from
Nov 22, 2018

Conversation

gnestor
Copy link
Collaborator

@gnestor gnestor commented Nov 21, 2018

Related to plotly/plotly.py#1281

This just accept a config object for plotly.js that can be passed by plotly.py or the user.

Demo notebook: https://gist.github.com/gnestor/07f30edf28a8c3a88a01dfc748a8201a

@jonmmease
Copy link
Contributor

Thanks for working on this @gnestor. Have you confirmed that this is backward compatible with versions of plotly.py that don't provide config in the display bundle?

@gnestor
Copy link
Collaborator Author

gnestor commented Nov 22, 2018

Yes, I just tested this against plotly.py@master and it works as expected. This doesn't break any backwards compatibility because it simply passes along the config object from plotly.py to plotly.js.

@gnestor gnestor merged commit 8337882 into jupyterlab:master Nov 22, 2018
@gnestor gnestor deleted the plotly-config branch November 22, 2018 19:59
@gnestor
Copy link
Collaborator Author

gnestor commented Nov 22, 2018

@jonmmease Just published @jupyterlab/plotly-extension 0.18.1 👍

@jonmmease
Copy link
Contributor

Awesome, thanks!

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.

None yet

2 participants