squidpy.im.ImageContainer.from_adata

classmethod ImageContainer.from_adata(adata, img_key=None, library_id=None, spatial_key='spatial', **kwargs)[source]

Load an image from anndata object.

Parameters
Return type

ImageContainer

Returns

The image container.