sorbetto.tile.entity_tile module

class sorbetto.tile.entity_tile.EntityTile(parameterization: AbstractParameterization, flavor: EntityFlavor, name: str = 'Entity Tile', resolution: int = 1001, disable_colorbar: bool = False)[source]

Bases: SymbolicTile

property colormap: ndarray
draw(fig: Figure | None = None, ax: Axes | None = None) tuple[Figure, Axes][source]

Draws the Tile in the given figure and axes.

Parameters:
  • fig (Figure | None, optional) – The figure to draw in. If None, a new figure is created. Defaults to None.

  • ax (Axes | None, optional) – The axes to draw in. If None, a new axis is created. Defaults to None. Note that this argument is ignored if fig is None.

Returns:

The figure and axes used for drawing.

property entities
property flavor: EntityFlavor
getExplanation()[source]
property performance: FiniteSetOfTwoClassClassificationPerformances
property rank: int