lux icon indicating copy to clipboard operation
lux copied to clipboard

[SETUP] Support for Google Colab

Open rizwannitk opened this issue 3 years ago • 11 comments

How to use this libary in colab

rizwannitk avatar Dec 01 '20 11:12 rizwannitk

Hi @rizwannitk, Thank you for your interest in Lux. We have not yet tested Lux on Google Colab. Lux currently only works on the classic Jupyter notebook and we plan to support Jupyter Lab soon. If this is something that is really essential for you, please try it out on Colab and report any issues on Github.

dorisjlee avatar Dec 01 '20 13:12 dorisjlee

Hi Doris, I tried it on Colab and it installs and loads fine but the toggle button fails to render any charting options. I am going through the fork to see if I can identify the issue.

taimur1871 avatar Dec 02 '20 05:12 taimur1871

Thanks @taimur1871, let us know how it goes!

dorisjlee avatar Dec 02 '20 12:12 dorisjlee

Seems like Google Colab doesn't support custom widgets yet https://github.com/googlecolab/colabtools/issues/498. Will probably have to wait until it does.

cjachekang avatar Dec 31 '20 05:12 cjachekang

Noticed the below error while installing LUX in Google Collab. Lux_Google_Colab_Issue

Will appreciate your help !

Sateesh110 avatar Jan 13 '21 02:01 Sateesh110

Hi @Sateesh110, Thanks for your question! Lux is not currently supported for Google Colab (since custom widgets are not yet supported in Colab). For now, you can use Lux alongside Jupyter notebook and Jupyter Lab (see setup instructions here). If you would like to just try out Lux without installing locally, here is a Binder link to a live notebook. Let us know if this works for you!

dorisjlee avatar Jan 13 '21 02:01 dorisjlee

Hi @Sateesh110, Thanks for your question! Lux is not currently supported for Google Colab (since custom widgets are not yet supported in Colab). For now, you can use Lux alongside Jupyter notebook and Jupyter Lab (see setup instructions here). If you would like to just try out Lux without installing locally, here is a Binder link to a live notebook. Let us know if this works for you!

@dorisjlee Thank you for letting me know! and also thanks for binder link.

Sateesh110 avatar Jan 14 '21 07:01 Sateesh110

A helpful related discussion about not trying to build support for proprietary colab APIs one by one into jupyter extensions https://github.com/QuantStack/ipycytoscape/issues/148

timkpaine avatar Mar 30 '21 16:03 timkpaine

Pandas profiling does have support for colab, maybe their implementation could be of help?

hugocool avatar Jun 14 '21 11:06 hugocool

This looks like a significant update?

charlie17 avatar Sep 04 '21 15:09 charlie17

Lux is working in colab!

image

As @charlie17 linked to, you need to enable custom widgets like: from google.colab import output output.enable_custom_widget_manager()

Sample Demo Colab Notebook

dwootton avatar Aug 01 '22 22:08 dwootton