spateo.plotting.static.polarity =============================== .. py:module:: spateo.plotting.static.polarity .. autoapi-nested-parse:: Written by @Jinerhal, adapted by @Xiaojieqiu. Functions --------- .. autoapisummary:: spateo.plotting.static.polarity.polarity Module Contents --------------- .. py:function:: polarity(adata: anndata.AnnData, gene_dict: dict, region_key: str, mode: str = 'density') Simple function to visualize expression level varies along regions. :param adata: _description_ :type adata: AnnData :param gene_dict: _description_ :type gene_dict: dict :param region_key: _description_ :type region_key: str :param mode: _description_. Defaults to "density". :type mode: str, optional :returns: _description_ :rtype: _type_