Merge pull request #187 from ericdill/color-descriptions
Document the valid args for bg/fg
This commit is contained in:
commit
a6d5e28642
@ -49,6 +49,7 @@ else:
|
|||||||
CONFIG_OPTIONS = {
|
CONFIG_OPTIONS = {
|
||||||
'useOpenGL': useOpenGL, ## by default, this is platform-dependent (see widgets/GraphicsView). Set to True or False to explicitly enable/disable opengl.
|
'useOpenGL': useOpenGL, ## by default, this is platform-dependent (see widgets/GraphicsView). Set to True or False to explicitly enable/disable opengl.
|
||||||
'leftButtonPan': True, ## if false, left button drags a rubber band for zooming in viewbox
|
'leftButtonPan': True, ## if false, left button drags a rubber band for zooming in viewbox
|
||||||
|
# foreground/background take any arguments to the 'mkColor' in /pyqtgraph/functions.py
|
||||||
'foreground': 'd', ## default foreground color for axes, labels, etc.
|
'foreground': 'd', ## default foreground color for axes, labels, etc.
|
||||||
'background': 'k', ## default background for GraphicsWidget
|
'background': 'k', ## default background for GraphicsWidget
|
||||||
'antialias': False,
|
'antialias': False,
|
||||||
|
Loading…
Reference in New Issue
Block a user