promote use of '#' in mkPen

This commit is contained in:
Nathan Jessurun 2021-04-10 17:52:51 -04:00
parent 10d924818c
commit e890d832e0

View File

@ -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>` """