"Arguments" added again (copy/paste issue)

This commit is contained in:
tommy3001 2014-02-12 20:49:53 +01:00
parent f8c9406f84
commit ddaa07afb1
4 changed files with 5 additions and 5 deletions

View File

@ -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.

View File

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

View File

@ -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.

View File

@ -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.