Closed nastya236 closed 7 months ago
thanks @SpencerBowles cc @nastya236 !
It seems legend is hardcoded to False/not passed to kwargs: https://github.com/AdaptiveMotorControlLab/CEBRA/blob/6a6a07d1b61c1d956d1638bc2e5d7b1bd1c5f1c9/cebra/integrations/plotly.py#L123 and we could modify to pass to L#130 https://github.com/AdaptiveMotorControlLab/CEBRA/blob/6a6a07d1b61c1d956d1638bc2e5d7b1bd1c5f1c9/cebra/integrations/plotly.py#L130
The way the kwargs
are handled seems off. I'll make a proposal
Is there an existing issue for this?
Bug description
Bug description
I have discrete auxiliary variables that I am using to color my embeddings. The color works fine, but I do not know which color corresponds to which label. I tried adding a legend like I would in plotly.graph_objects.Scatter, this did not produce an error, but it also does not produce a legend. How can I get a label to be associated with the embedding_label colors? Below is my code for generating the plot. 'crop_bx' is a 1xN vector.
Operating System
Windows 10
CEBRA version
cebra version: '0.3.1'
Device type
cpu
Steps To Reproduce
No response
Relevant log output
No response
Anything else?
No response
Code of Conduct