Skip to content
This repository has been archived by the owner on Jul 27, 2024. It is now read-only.

Updated colab_facets.ipynb to make the atlas_url and sprite feature work using base64 data url. #232

Commits on Oct 27, 2020

  1. Updated colab_facets.ipynb to show atlas feature using base64 image url.

    Added new dive example showing the atlas feature.  This example works with Colab.  When I tried with regular image url I got 404 error.
    
    The solution is to read image from the file and convert it into base64 string.  Then create a base64 image url from the string and embed it directly into the html and javascript code.
    jsiddique committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    18581a8 View commit details
    Browse the repository at this point in the history
  2. Revert "Updated colab_facets.ipynb to show atlas feature using base64…

    … image url."
    
    This reverts commit 18581a8.
    jsiddique committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    5ded157 View commit details
    Browse the repository at this point in the history
  3. Create colab_dive_atlas_demo.ipynb

    Problem:
    The atlas and sprite feature is missing in the main Colab notebook example. The atlas_url feature in the current Colab example didn't work directly using local files and regular url. There is no easy way to pass the image using atlas_url from Colab.
    
    Solution:
    The solution is to read image from the file and convert it into base64 string. Then create a base64 image url from the string and pass the base64 image url directly into atlas_url.
    
    Added new dive example showing the atlas_url and sprite feature. The notebook works in Colab and is able to show the visualizaiton properly.
    jsiddique committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    b7ec1b1 View commit details
    Browse the repository at this point in the history
  4. Update colab_dive_atlas_demo.ipynb

    Added description and useful information in a text cell.
    jsiddique committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    08f7a3c View commit details
    Browse the repository at this point in the history
  5. Update colab_dive_atlas_demo.ipynb

    Updated atlas image and meta data urls and point them to public what-if-tool bucket.
    jsiddique committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    b9dbbda View commit details
    Browse the repository at this point in the history