Skip to content

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

Closed

Description

@timtreis

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

Activity

  1. timtreis commented on Jul 10, 2024

    @timtreis
    MemberAuthor

    Nice job closing this one as well @Sonja-Stockhaus !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions