Class: QgsClassificationRange

Contains the information about a classification range.

Added in version 3.10.

Methods

label

Returns the lower bound

lowerBound

Returns the lower bound

upperBound

Returns the upper bound

class qgis.core.QgsClassificationRange[source]

Bases: object

__init__(label: str | None, lowerBound: float, upperBound: float)

Constructor

Parameters:
  • label (Optional[str])

  • lowerBound (float)

  • upperBound (float)

__init__(a0: QgsClassificationRange)
Parameters:

a0 (QgsClassificationRange)

label(self) str[source]

Returns the lower bound

Return type:

str

lowerBound(self) float[source]

Returns the lower bound

Return type:

float

upperBound(self) float[source]

Returns the upper bound

Return type:

float