Update GridItem.py (#1423)
Bug in GridItem.setTextPen() : on line 49 **kargs should be **kwargs. setTextPen does not work (until this simple fix is applied)
This commit is contained in:
parent
cae1c66c78
commit
98c01a3667
@ -46,7 +46,7 @@ class GridItem(UIGraphicsItem):
|
||||
if args == (None,):
|
||||
self.opts['textPen'] = None
|
||||
else:
|
||||
self.opts['textPen'] = fn.mkPen(*args, **kargs)
|
||||
self.opts['textPen'] = fn.mkPen(*args, **kwargs)
|
||||
|
||||
self.picture = None
|
||||
self.update()
|
||||
|
Loading…
Reference in New Issue
Block a user