andersen-lab / Freyja

Depth-weighted De-Mixing
BSD 2-Clause "Simplified" License
102 stars 29 forks source link

Dash request: minimising legend? #157

Closed AliceMichie93 closed 8 months ago

AliceMichie93 commented 1 year ago

Hi there!

I have a pretty simple query. I'm loving the dash functionality, however, I find that the figure legend obscures some of the generated plots. Is there a way to add a function to the .html to temporarily 'hide' the legend? Or is there already such a function that I've missed?

Thanks so much for your help, Alice

joshuailevy commented 1 year ago

Hi @AliceMichie93!

At the moment we don't have that functionality- but I agree, it does look as though the legend can sometimes creep into the upper right-most part of the dash plots. Would be an easy fix to just make sure that it's fully outside the plot. Can also look into "hiding" it, but for now we'll just move it so that it doesn't obscure anything.

Josh

AliceMichie93 commented 1 year ago

Thanks so much Josh If you could just scoot the legend to the outside of the plot, that would be fantastic :) Appreciate your help! Alice