keplergl / keplergl/kepler.gl

[Bug][Jupyter Widget] Legend color schema changes with respect to data

Open
#814 0 comments 0 reactions 1 assignee Claimed by @heshan0131 View on GitHub
jupyter
Dominant language
TypeScript
Stars
12k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
66

Description

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. load kepler
2. Add data & config
3. Export map
![2019-10-28 at 9 39 AM](https://user-images.githubusercontent.com/4540836/68039160-c0afa880-fc88-11e9-8307-d8b65ee6d982.gif)
As you can the legend colors keep changing as the legends are creating with respect to the data.
so if the initial legend of snow is green, it is no more green as it changes with respect to data which is very confusing

**Expected behavior**
legends should be generated with respect to unique values in a column instead of chosing a specific data range. or at least give a choice to choose as an arg whether to generate legends from entire column or the selected data of the column itself

**Screenshots**
![2019-10-28 at 9 39 AM](https://user-images.githubusercontent.com/4540836/68039255-fce30900-fc88-11e9-853d-83a9ac8e1841.gif)
Also I explained the issue in the slack channel screenshot below
![image](https://user-images.githubusercontent.com/4540836/68039301-13896000-fc89-11e9-9b93-3df70f6c6f41.png)

**Environment (please complete the following information):**
- Python version: using python 3.6
- keplergl Widget version 0.1.2

**Additional context**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.