From 4cfd58d8b94b1158eb7bdf386e7513f8811fdc65 Mon Sep 17 00:00:00 2001 From: Luke Campagnola <> Date: Sat, 21 Apr 2012 16:11:15 -0400 Subject: [PATCH] doc fixes --- graphicsItems/PlotItem/PlotItem.py | 1 + graphicsItems/ScatterPlotItem.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/graphicsItems/PlotItem/PlotItem.py b/graphicsItems/PlotItem/PlotItem.py index b566a8bf..28acc739 100644 --- a/graphicsItems/PlotItem/PlotItem.py +++ b/graphicsItems/PlotItem/PlotItem.py @@ -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() diff --git a/graphicsItems/ScatterPlotItem.py b/graphicsItems/ScatterPlotItem.py index b93c134f..c3940755 100644 --- a/graphicsItems/ScatterPlotItem.py +++ b/graphicsItems/ScatterPlotItem.py @@ -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()