spatialdata-plot
spatialdata-plot copied to clipboard
Ability to change color of the border of labels
Currently it doesn't seem possible to change the color of the border of labels.
For instance, reported by @MeyerBender, using
sdata_zoomed.pl.render_images(channel=["DAPI"]).pl.render_labels(outline_alpha=1, fill_alpha=0, color="white").pl.show()
shows a black border (code here)
while having a white border like here would be the desired output
Example code snippet:
import spatialdata as sd
import spatialdata_plot
from spatialdata.datasets import blobs
sdata = blobs()
sdata.pl.render_images(channel=0).pl.render_labels(outline_alpha=1, fill_alpha=0).pl.show()
It would be cool to have an argument like contour_color in there.