You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Embedding Projector: fix gradient color map (#6310)
## Motivation for features / changes
Fix errors for gradient color map
## Technical description of changes
When colorby gradient metadata is selected the UI currently not working
as expected due to multiple errors that causes exceptions/bugs in UI.
This fixes:
- gradient not getting rendered at all when there are no items
- a race condition where the gradient color map would not get rendered
- linearGraident children does not get attached
- rendering issue with the end label when switching away to a
categorical coloring
## Screenshots of UI changes
Before:
<img width="295" alt="Screenshot 2023-04-17 at 8 53 44 PM"
src="https://user-images.githubusercontent.com/31378877/232666984-daee9298-0df5-41c5-9cc3-f98391137c61.png">
After:

## Detailed steps to verify changes work correctly (as executed by you)
Use the default Word2Vec 10k dataset
change `color by` from "No Color Map" to `count`
## Alternate designs / implementations considered
---------
Co-authored-by: Riley Jones <[email protected]>
0 commit comments