Skip to content

Commit c66e061

Browse files
committed
Fixed typo in qwt/interval.py: invalid intervals were having numpy.nan width
1 parent 01ec687 commit c66e061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qwt/interval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def isValid(self):
5454
return self.__minValue < self.__maxValue
5555

5656
def width(self):
57-
if self.isValid:
57+
if self.isValid():
5858
return self.__maxValue - self.__minValue
5959
else:
6060
return 0.

0 commit comments

Comments
 (0)