drawdata icon indicating copy to clipboard operation
drawdata copied to clipboard

ScatterWidget return labels instead of colors

Open Dristro opened this issue 10 months ago • 3 comments

Noticed that the .data_as_pandas returns a df containing both colors and labels. Whereas the .data_as_X_y returns colors, which isn't very useful when interpreting and working with the data.

Update: Modified the ScatterWidget class so that .data_as_X_y now returns labels instead of colors. Question: Was there a specific reason for returning color instead of label? Happy to discuss if there's a particular use case for it!

Dristro avatar Feb 21 '25 17:02 Dristro