As shown in this thread here: scverse/spatialdata-notebooks#138, when using imshow() on very sparse matrices, the resulting plot can be misleading (the same problem appears also when plotting data using in napari).
A solution could be to enable a method='datashader' approach also for render_images, so that a 2D histogram is computed and the interpolation artifacts can be better controlled.
As shown in this thread here: scverse/spatialdata-notebooks#138, when using
imshow()on very sparse matrices, the resulting plot can be misleading (the same problem appears also when plotting data using innapari).A solution could be to enable a
method='datashader'approach also forrender_images, so that a 2D histogram is computed and the interpolation artifacts can be better controlled.