Skip to content

Commit 8fe97e9

Browse files
committed
Fixed QwtPlotItem.setItemInterest args
Added missing state default value (boolean=True) to fit the corresponding Qwt C++ method signature: http://qwt.sourceforge.net/class_qwt_plot_item.html#ab65cbfe489ff73e32a919a0633298fb7
1 parent 2c5ae62 commit 8fe97e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qwt/plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1834,7 +1834,7 @@ def testItemAttribute(self, attribute):
18341834
"""
18351835
return bool(self.__data.attributes & attribute)
18361836

1837-
def setItemInterest(self, interest, on):
1837+
def setItemInterest(self, interest, on=True):
18381838
"""
18391839
Toggle an item interest
18401840

0 commit comments

Comments
 (0)