src.paste.plot_slice

plot_slice(sliceX, color, ax=None, s=100)[source]

Plots slice spatial coordinates.

Parameters
  • sliceX (AnnData) – Slice to be plotted.

  • color – Scatterplot color, any format accepted by matplotlib.

  • ax (Optional[Axes]) – Pre-existing axes for the plot. Otherwise, call matplotlib.pyplot.gca() internally.

  • s (float) – Size of spots.

Return type

None