Closed kylebarron closed 3 years ago
Use a literal height=500 in the UnfoldedMap constructor. When the Colab widget starts with the default height=100% the height is very small for some reason. Providing a literal height=500 should make the output consistent across platforms.
Can we detect colab in some way and do this inside our SDK instead?
I think this is essentially ready to go once we publish the next version of the Map SDK
Changes
https
urls) instead of relative paths. Colab doesn't clone the entire repository by default, it only grabs the individual jupyter notebook. This means that we need to use absolute paths instead of relative paths on a filesystem to access the data files.07 - Crossfilter
because the Plotly widget doesn't currently work in Colab!pip install unfolded.map-sdk
at the top of each notebook for colab. Colab doesn't appear to have any way to install dependencies automatically for a notebook.pip install unfolded.map-sdk
instead of temporary testing URL