sorbetto.tile.numeric_tile module

class sorbetto.tile.numeric_tile.NumericTile(parameterization: AbstractParameterization, flavor: AbstractNumericFlavor, name: str = 'Numeric Tile', resolution: int = 1001, disable_colorbar: bool = False)[source]

Bases: Tile

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 flavor: AbstractNumericFlavor
getExplanation() str[source]
property max: float | int
property min: float | int