Hi there, thanks for this great tool! Super useful so far, but I'm running into some issues trying specify colors for categorical values with pl.render_shapes().
Specifying colors with the palette argument, I get my desired colors in the legend but not in the plot itself.
sdata.pl.render_shapes('cell_boundaries', color='graphclust', palette=ListedColormap(['blue', 'red']), groups=['2', '9']).pl.show(ax=ax, title='clusters')
I've tried many things, also without the groups argument but so far haven't been able to use palette to specify colors for categorical values in the plot itself. Would be great to be able to do this because the standard colors can be hard to see :)
Hi there, thanks for this great tool! Super useful so far, but I'm running into some issues trying specify colors for categorical values with
pl.render_shapes().Specifying colors with the
paletteargument, I get my desired colors in the legend but not in the plot itself.I've tried many things, also without the
groupsargument but so far haven't been able to usepaletteto specify colors for categorical values in the plot itself. Would be great to be able to do this because the standard colors can be hard to see :)