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:
ernierock 2020-11-06 23:04:34 +01:00 committed by GitHub
parent cae1c66c78
commit 98c01a3667
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()