stereo.plots.PlotCollection.hotspot_modules¶
- PlotCollection.hotspot_modules(res_key='spatial_hotspot', ncols=2, dot_size=None, palette='stereo', width=None, height=None, title=None, vmin=None, vmax=None, **kwargs)[source]¶
Plot hotspot modules
- Parameters:
res_key (
str) – the result key of spatial hotspot.ncols (
Optional[int]) – the number of columns.dot_size (
Optional[int]) – the dot size.palette (
Optional[str]) – Color theme, defaults to'CET_L4'.width (
Optional[str]) – the figure width in pixels.height (
Optional[str]) – the figure height in pixels.out_path – the path to save the figure.
out_dpi – the dpi when the figure is saved.
title (
Optional[str]) – the plot title.vmin (
Optional[float]) – The value representing the lower limit of the color scale. Values smaller than vmin are plotted with the same color as vmin.vmax (
Optional[float]) – The value representing the higher limit of the color scale. Values greater than vmax are plotted with the same color as vmax.