spateo.plotting.static.contour ============================== .. py:module:: spateo.plotting.static.contour .. autoapi-nested-parse:: Written by @Jinerhal, adapted by @Xiaojieqiu. Functions --------- .. autoapisummary:: spateo.plotting.static.contour.spatial_domains Module Contents --------------- .. py:function:: spatial_domains(adata: anndata.AnnData, bin_size: Optional[int] = None, spatial_key: str = 'spatial', label_key: str = 'cluster_img_label', plot_size=(3, 3), save_img='spatial_domains.png') Generate an image with contours of each spatial domains. :param adata: The adata object used to create the image. :param bin_size: The size of the binning. Default to None. :param spatial_key: The key name of the spatial coordinates. Default to "spatial". :param label_key: The key name of the image label values. Default to "cluster_img_label". :param plot_size: figsize for showing the image. :param save_img: path to saving image file.