doc fixes
This commit is contained in:
parent
f8758dba39
commit
4cfd58d8b9
@ -358,6 +358,7 @@ class PlotItem(GraphicsWidget):
|
||||
x (bool) Whether to show the X grid
|
||||
y (bool) Whether to show the Y grid
|
||||
alpha (0.0-1.0) Opacity of the grid
|
||||
============== =====================================
|
||||
"""
|
||||
if x is None and y is None and alpha is None:
|
||||
raise Exception("Must specify at least one of x, y, or alpha.") ## prevent people getting confused if they just call showGrid()
|
||||
|
@ -58,7 +58,7 @@ class ScatterPlotItem(GraphicsObject):
|
||||
* 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 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
|
||||
@ -83,7 +83,7 @@ class ScatterPlotItem(GraphicsObject):
|
||||
*size* The size (or list of sizes) of spots. If *pxMode* is True, this value is in pixels. Otherwise,
|
||||
it is in the item's local coordinate system.
|
||||
*data* a list of python objects used to uniquely identify each spot.
|
||||
====================== =================================================
|
||||
====================== =================================================================================================
|
||||
"""
|
||||
|
||||
self.clear()
|
||||
|
Loading…
Reference in New Issue
Block a user