promote use of '#' in mkPen
This commit is contained in:
parent
10d924818c
commit
e890d832e0
@ -331,7 +331,7 @@ def mkPen(*args, **kargs):
|
||||
mkPen(color)
|
||||
mkPen(color, width=2)
|
||||
mkPen(cosmetic=False, width=4.5, color='r')
|
||||
mkPen({'color': "FF0", width: 2})
|
||||
mkPen({'color': "#FF0", width: 2})
|
||||
mkPen(None) # (no pen)
|
||||
|
||||
In these examples, *color* may be replaced with any arguments accepted by :func:`mkColor() <pyqtgraph.mkColor>` """
|
||||
|
Loading…
Reference in New Issue
Block a user