A small typo in pyqtgraph source code

25 views
Skip to first unread message

pyguyjohny

unread,
Aug 16, 2016, 10:05:37 AM8/16/16
to pyqtgraph
Hello,

I am developing a user interface with pyqtgraph and in the process of adding QPushButton widgets to a LayoutWidget I found a small typo in LayoutWidget.py thats killing functionality.


line 76-78

def getWidget(self, row, col):
   
"""Return the widget in (*row*, *col*)"""
   
return self.row[row][col]

should read
def getWidget(self, row, col):
   
"""Return the widget in (*row*, *col*)"""
   
return self.rows[row][col]

Being new to the community, I don't know who to show this to so here I am.
Reply all
Reply to author
Forward
0 new messages