ScatterWidget¶
-
class
glue.viewers.scatter.qt.viewer_widget.ScatterWidget(session, parent=None)[source]¶ Bases:
glue.viewers.common.qt.data_viewer.DataViewerAn interactive scatter plot.
Attributes Summary
LABELhiddenShow hidden attributes window_titlexattAttribute to plot on x axis xflipinvert the x axis? xloglog scaling on x axis? xmaxUpper x limit of plot xminLower x limit of plot yattAttribute to plot on y axis yflipinvert the y axis? yloglog scaling on y axis? ymaxUpper y limit of plot yminLower 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'¶
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
-