sainsc.LazyKDE.plot_assignment_score
- sainsc.LazyKDE.plot_assignment_score(*, remove_background=False, crop=None, scalebar=True, im_kwargs=dict(), scalebar_kwargs=_SCALEBAR)
Plot the assignment score from cell-type assignment.
- Parameters:
remove_background (bool, optional) – If True, all pixels for which
sainsc.LazyKDE.backgroundis False are set to 0.crop (tuple[tuple[int, int], tuple[int, int]], optional) – Coordinates to crop the data defined as ((xmin, xmax), (ymin, ymax)).
scalebar (bool, optional) – If True, add a
matplotlib_scalebar.scalebar.ScaleBarto the plot.im_kwargs (dict[str, Any], optional) – Keyword arguments that are passed to
matplotlib.pyplot.imshow().scalebar_kwargs (dict[str, Any], optional) – Keyword arguments that are passed to
matplotlib_scalebar.scalebar.ScaleBar.
- Return type:
See also