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(data) Add a new data set to the widget
add_subset(subset) Add a subset to the widget
make_toolbar()
options_widget()
register_to_hub(hub)
restore_layers(rec, context)
swap_axes()
unregister(hub)
update_xatt(index)
update_yatt(index)

Attributes Documentation

LABEL = 'Scatter Plot'
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 Documentation

add_data(data)[source]

Add a new data set to the widget

Returns:True if the addition was expected, False otherwise
add_subset(subset)[source]

Add a subset to the widget

Returns:True if the addition was accepted, False otherwise
make_toolbar()[source]
options_widget()[source]
register_to_hub(hub)[source]
restore_layers(rec, context)[source]
swap_axes()[source]
unregister(hub)[source]
update_xatt(index)[source]
update_yatt(index)[source]