wsidata.accessors.iter.TissueContour#
- class TissueContour(tissue_id, shape)#
Bases:
objectThe data container return by
wsidata.iter.tissue_contours- Attributes:
- property contour#
The contour of the tissue
- property height#
The height of the tissue
- property holes#
The holes of the tissue
- plot(ax=None, outline_color='#117554', hole_color='#4379F2', linewidth=2, outline_kwargs=None, hole_kwargs=None)#
Plot the tissue contour.
- Parameters:
- axmatplotlib.axes.Axes, default: None
The axes to plot the contour.
- outline_colorstr, default: “#117554”
The color of the outline.
- hole_colorstr, default: “#4379F2”
The color of the holes.
- linewidthint, default: 2
The width of the line.
- outline_kwargsdict, default: None
Additional keyword arguments for the outline.
- hole_kwargsdict, default: None
Additional keyword arguments for the holes.
- property width#
The width of the tissue
- property x#
The x-coordinate of the tissue
- property y#
The y-coordinate of the tissue