Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Benjamin Jakimow
EO Time Series Viewer
Commits
edb7c514
Commit
edb7c514
authored
Apr 22, 2012
by
Luke Campagnola
Browse files
merged with dev
parents
636795d3
4cfd58d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
graphicsItems/PlotItem/PlotItem.py
View file @
edb7c514
...
...
@@ -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()
...
...
graphicsItems/ScatterPlotItem.py
View file @
edb7c514
...
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment