Skip to content

JupyterLab prebuilt extensions #3036

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

Closed
nicolaskruchten opened this issue Jan 20, 2021 · 12 comments · Fixed by #3142
Closed

JupyterLab prebuilt extensions #3036

nicolaskruchten opened this issue Jan 20, 2021 · 12 comments · Fixed by #3142

Comments

@nicolaskruchten
Copy link
Contributor

JupyterLab 3 supports "prebuilt" pip-installable extensions in addition to "source" extensions like the ones we've been publishing to NPM. We should come up with a plan to include those in our release process somehow.

See discussion in #2994

@koenlek
Copy link

koenlek commented Mar 1, 2021

Does plotly have any rough timeline in mind for supporting this?

It would be very convenient if I could rely fully on pip for setting up a jupyter lab environment (including plotly support).

@nicolaskruchten
Copy link
Contributor Author

We can't commit to a timeline for doing this at the moment, but I'd love a hand! Right now our partly-manual/partly-automated release process is documented here: https://github.com/plotly/plotly.py/blob/master/release.md ... I would happily accept a PR that expands on this with some easy-to-follow steps that result in a pip-installable extension in addition to the current ones. Such a PR might include a script or two to build these extensions etc to keep the manual burden low :)

@koenlek
Copy link

koenlek commented Mar 2, 2021

Ok I understand... Hopefully somebody steps up then :)

JLab 3's new extension system is a much smoother experience for end-users. Hopefully we'll see the plotly extension updated soon!

@sorenwacker
Copy link

The no-plotly support is currently the only thing that drives me back to JupyterLab 2. Is there a way to show the plots not inline, but in e.g. in a popup window?

@nicolaskruchten
Copy link
Contributor Author

So JupyterLab 3 is supported, just not with the "prebuilt" extensions. I'm not sure what you're asking regarding inline vs popup but it seems unrelated to this particular issue... ? Perhaps create another issue? :)

@koenlek
Copy link

koenlek commented May 5, 2021

This is great! When could we start seeing this on pypi? I'm happy to test a beta/RC if possible :)

@nicolaskruchten
Copy link
Contributor Author

This will come out as part of 5.0 and we'll have an RC out on PyPI in a week or two I hope.

@koenlek
Copy link

koenlek commented May 27, 2021

Any news on a beta/RC that I could test? 🙏

@nicolaskruchten
Copy link
Contributor Author

I'm hoping to have a beta out this week or next.

@nicolaskruchten
Copy link
Contributor Author

OK, if someone wants to kick the tires on it, pip install plotly==5.0.0rc1 should "just work" and install the prebuilt extension and it'll all just work in JLab3 regardless if you have our other extensions already installed.

@koenlek
Copy link

koenlek commented Jun 2, 2021

Works like a charm for me! Thanks!

@nicolaskruchten
Copy link
Contributor Author

This is now released as part of v5.0.

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 a pull request may close this issue.

3 participants