Skip to content

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.

2 participants