InvalidPointSizeError(point_size)
Source¶
Bases: NumdaplotError
Raised when the size of a point is 0 or lower, infinite, or not a number.
Added in version 0.1.0
Parameters:
-
point_size(float)The rejected size.
Attributes:
-
point_sizeThe rejected size.
Examples:
import numdaplot as ndp
try:
ndp.ScatterChart(point_size=-1.0)
except ndp.InvalidPointSizeError as error:
print(error)
# Expected a point size above 0, got -1.0.