spatialdata-plot icon indicating copy to clipboard operation
spatialdata-plot copied to clipboard

render_labels plots can not show any legend

Open liuyang2006 opened this issue 1 year ago • 3 comments

I am using below script:

sdata.pl.render_labels('cell_labels', color=ct_name).pl.show(title="Cell labels", 
                                                             coordinate_systems="global",  
                                                             legend_loc="right margin")

I check the documents, but my script can not show legend:

Image

liuyang2006 avatar Nov 17 '24 10:11 liuyang2006

Thanks for reporting! Can you see a legend if you remove legend_loc="right margin"?

LucaMarconato avatar Jan 05 '25 22:01 LucaMarconato

I have the same problem, legend_loc parameter doesn't seem to change anything, would it be helpful to provide session info ?

EliasFarr avatar Mar 03 '25 10:03 EliasFarr

@timtreis @Sonja-Stockhaus wdyt?

LucaMarconato avatar Mar 08 '25 23:03 LucaMarconato