From ddaa07afb15ed75750e3099b07872ede74c8d97d Mon Sep 17 00:00:00 2001 From: tommy3001 Date: Wed, 12 Feb 2014 20:49:53 +0100 Subject: [PATCH] "Arguments" added again (copy/paste issue) --- pyqtgraph/graphicsItems/ArrowItem.py | 2 +- pyqtgraph/graphicsItems/LabelItem.py | 2 +- pyqtgraph/graphicsItems/ScatterPlotItem.py | 4 ++-- pyqtgraph/parametertree/Parameter.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pyqtgraph/graphicsItems/ArrowItem.py b/pyqtgraph/graphicsItems/ArrowItem.py index 74066fd7..7f6abbed 100644 --- a/pyqtgraph/graphicsItems/ArrowItem.py +++ b/pyqtgraph/graphicsItems/ArrowItem.py @@ -48,7 +48,7 @@ class ArrowItem(QtGui.QGraphicsPathItem): All arguments are optional: ====================== ================================================= - **Keyword** + **Keyword Arguments** angle Orientation of the arrow in degrees. Default is 0; arrow pointing to the left. headLen Length of the arrow head, from tip to base. diff --git a/pyqtgraph/graphicsItems/LabelItem.py b/pyqtgraph/graphicsItems/LabelItem.py index 57127a07..37980ee3 100644 --- a/pyqtgraph/graphicsItems/LabelItem.py +++ b/pyqtgraph/graphicsItems/LabelItem.py @@ -38,7 +38,7 @@ class LabelItem(GraphicsWidget, GraphicsWidgetAnchor): a CSS style string: ==================== ============================== - **Style** + **Style Arguments:** color (str) example: 'CCFF00' size (str) example: '8pt' bold (bool) diff --git a/pyqtgraph/graphicsItems/ScatterPlotItem.py b/pyqtgraph/graphicsItems/ScatterPlotItem.py index 5310cf4d..1c11fcf9 100644 --- a/pyqtgraph/graphicsItems/ScatterPlotItem.py +++ b/pyqtgraph/graphicsItems/ScatterPlotItem.py @@ -253,13 +253,13 @@ class ScatterPlotItem(GraphicsObject): def setData(self, *args, **kargs): """ - **Ordered** + **Ordered Arguments:** * If there is only one unnamed argument, it will be interpreted like the 'spots' argument. * If there are two unnamed arguments, they will be interpreted as sequences of x and y values. ====================== =============================================================================================== - **Keyword** + **Keyword Arguments:** *spots* Optional list of dicts. Each dict specifies parameters for a single spot: {'pos': (x,y), 'size', 'pen', 'brush', 'symbol'}. This is just an alternate method of passing in data for the corresponding arguments. diff --git a/pyqtgraph/parametertree/Parameter.py b/pyqtgraph/parametertree/Parameter.py index f7cb42a0..1c75c333 100644 --- a/pyqtgraph/parametertree/Parameter.py +++ b/pyqtgraph/parametertree/Parameter.py @@ -108,7 +108,7 @@ class Parameter(QtCore.QObject): by most Parameter subclasses. ======================= ========================================================= - **Keyword** + **Keyword Arguments:** name The name to give this Parameter. This is the name that will appear in the left-most column of a ParameterTree for this Parameter.