EmptyRegionError()
Source¶
Bases: NumdaplotError
Raised when a Region is created without rows and without columns, which would choose the whole object.
Added in version 0.1.0
Examples:
import numdaplot as ndp
try:
ndp.Region()
except ndp.EmptyRegionError as error:
print(error)
# A Region needs rows, columns or both, got neither.