keplergl Jupyter save_to_html exceeds 10 MB file limitation.
- Dominant language
- TypeScript
- Stars
- 12k
- Forks
- 2k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 66
Description
**Describe the bug**
When using the keplergl python module (versions 0.3.6 or 0.3.7), the "save_to_html" function creates too large of HTML files to render (over 10 MB). It doesn't seem to matter how small the data is, issue can be reproduced with a single layer with a single data point. Note that this issue doesn't exist in version 0.3.2.
**To Reproduce**
In a Jupyter notebook, install keplergl python library version 0.3.7 or 0.3.6. Create a map and try saving to HTML. File will be created, but is unusable due to exceeding HTML 10 MB limitation.
**Expected behavior**
A clear and concise description of what you expected to happen.
**Desktop:**
- Windows 11 Home
- Chrome Browser
- Databricks Notebook
- keplergl python verisons 0.3.6 or 0.3.7
Screenshot version 0.3.7 (issue) :

Screenshot version 0.3.6 (issue) :

Screenshot version 0.3.2 (working version) :

Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue in a Jupyter notebook with keplergl 0.3.6 or 0.3.7, using a map containing one layer and one data point, then call save_to_html. Compare the generated HTML size and renderability with version 0.3.2; done means small datasets no longer produce unusable HTML files exceeding the 10 MB limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter, python
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100