"Arguments" added again (copy/paste issue)
This commit is contained in:
parent
f8c9406f84
commit
ddaa07afb1
@ -48,7 +48,7 @@ class ArrowItem(QtGui.QGraphicsPathItem):
|
|||||||
All arguments are optional:
|
All arguments are optional:
|
||||||
|
|
||||||
====================== =================================================
|
====================== =================================================
|
||||||
**Keyword**
|
**Keyword Arguments**
|
||||||
angle Orientation of the arrow in degrees. Default is
|
angle Orientation of the arrow in degrees. Default is
|
||||||
0; arrow pointing to the left.
|
0; arrow pointing to the left.
|
||||||
headLen Length of the arrow head, from tip to base.
|
headLen Length of the arrow head, from tip to base.
|
||||||
|
@ -38,7 +38,7 @@ class LabelItem(GraphicsWidget, GraphicsWidgetAnchor):
|
|||||||
a CSS style string:
|
a CSS style string:
|
||||||
|
|
||||||
==================== ==============================
|
==================== ==============================
|
||||||
**Style**
|
**Style Arguments:**
|
||||||
color (str) example: 'CCFF00'
|
color (str) example: 'CCFF00'
|
||||||
size (str) example: '8pt'
|
size (str) example: '8pt'
|
||||||
bold (bool)
|
bold (bool)
|
||||||
|
@ -253,13 +253,13 @@ class ScatterPlotItem(GraphicsObject):
|
|||||||
|
|
||||||
def setData(self, *args, **kargs):
|
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 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.
|
* 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:
|
*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
|
{'pos': (x,y), 'size', 'pen', 'brush', 'symbol'}. This is just an alternate method
|
||||||
of passing in data for the corresponding arguments.
|
of passing in data for the corresponding arguments.
|
||||||
|
@ -108,7 +108,7 @@ class Parameter(QtCore.QObject):
|
|||||||
by most Parameter subclasses.
|
by most Parameter subclasses.
|
||||||
|
|
||||||
======================= =========================================================
|
======================= =========================================================
|
||||||
**Keyword**
|
**Keyword Arguments:**
|
||||||
name The name to give this Parameter. This is the name that
|
name The name to give this Parameter. This is the name that
|
||||||
will appear in the left-most column of a ParameterTree
|
will appear in the left-most column of a ParameterTree
|
||||||
for this Parameter.
|
for this Parameter.
|
||||||
|
Loading…
Reference in New Issue
Block a user