ScatterWidget¶
-
class
glue.viewers.scatter.qt.viewer_widget.
ScatterWidget
(session, parent=None)[source]¶ Bases:
glue.viewers.common.qt.data_viewer.DataViewer
An interactive scatter plot.
Attributes Summary
LABEL
hidden
Show hidden attributes window_title
xatt
Attribute to plot on x axis xflip
invert the x axis? xlog
log scaling on x axis? xmax
Upper x limit of plot xmin
Lower x limit of plot yatt
Attribute to plot on y axis yflip
invert the y axis? ylog
log scaling on y axis? ymax
Upper y limit of plot ymin
Lower y limit of plot Methods Summary
add_data
(*args, **kwargs)Add a new data set to the widget add_subset
(*args, **kwargs)Add a subset to the widget make_toolbar
()options_widget
()register_to_hub
(hub)restore_layers
(*args, **kwargs)swap_axes
(*args, **kwargs)unregister
(hub)update_xatt
(*args, **kwargs)update_yatt
(*args, **kwargs)Attributes Documentation
-
LABEL
= 'Scatter Plot'¶
Show hidden attributes
-
window_title
¶
-
xatt
¶ Attribute to plot on x axis
-
xflip
¶ invert the x axis?
-
xlog
¶ log scaling on x axis?
-
xmax
¶ Upper x limit of plot
-
xmin
¶ Lower x limit of plot
-
yatt
¶ Attribute to plot on y axis
-
yflip
¶ invert the y axis?
-
ylog
¶ log scaling on y axis?
-
ymax
¶ Upper y limit of plot
-
ymin
¶ Lower y limit of plot
Methods Documentation
-
add_data
(*args, **kwargs)[source]¶ Add a new data set to the widget
Returns: True if the addition was expected, False otherwise
-