scipy.spatial.Rectangle. volume# Rectangle.volume()[source]# Compute the total volume of the hyperrectangle. Returns: volfloatVolume of the hyperrectangle.