bento.pl.fluxmap¶
- bento.pl.fluxmap(sdata, palette='tab10', instance_key='cell_boundaries', hide_outside=True, axis_visible=False, frame_visible=True, title=None, dx=0.1, units='um', square=False, ax=None, fname=None, **kwargs)¶
Plot fluxmap shapes in different colors. Wrapper for
bt.pl.shapes()
.- Parameters:
data (AnnData) – Spatial formatted AnnData
palette (str or dict, optional) – Color palette, by default “tab10”. If dict, will use dict to map shape names to colors.
ax (matplotlib.axes.Axes, optional) – Axis to plot on, by default None. If None, will use current axis.
fname (str, optional) – Filename to save figure to, by default None. If None, will not save figure.