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

Order of render commands doesn't reflect z-order of elements in plot

Open timtreis opened this issue 2 years ago • 0 comments

MRE

import spatialdata as sd
from spatialdata.datasets import blobs
import spatialdata_plot

blob = blobs()

(
    blob
        .pl.render_points("blobs_points")
        .pl.render_shapes(na_color="white")
        .pl.render_images("blobs_image", alpha=0.5)
        .pl.show()
)

image

Correct: Shapes above points Incorrect: Image behind shapes

timtreis avatar Dec 08 '23 14:12 timtreis