paste3.visualization.plot_slice
- paste3.visualization.plot_slice(slice, color, ax=None, s=100)[source]
Plots slice spatial coordinates.
- Parameters:
slice (
AnnData
) -- Slice to be plotted.color -- Scatterplot color, any format accepted by
matplotlib
.ax (
Optional
[Axes
]) -- Pre-existing axes for the plot. Otherwise, callmatplotlib.pyplot.gca()
internally.s (
float
) -- Size of spots.
- Return type:
None