ImageViewer

class glue.viewers.image.qt.ImageViewer(session, parent=None, state=None)

Bases: glue.viewers.matplotlib.qt.data_viewer.MatplotlibDataViewer

Attributes Summary

LABEL
allow_duplicate_data
tools

Methods Summary

add_data(data)
apply_roi(roi)
close(**kwargs)
get_data_layer_artist([layer, layer_state])
get_subset_layer_artist([layer, layer_state])
hide_crosshairs()
show_crosshairs(x, y)
update_aspect([aspect])
update_viewer_state(rec, context)

Attributes Documentation

LABEL = '2D Image'
allow_duplicate_data = True
tools = ['select:rectangle', 'select:xrange', 'select:yrange', 'select:circle', 'select:polygon', 'image:contrast_bias']

Methods Documentation

add_data(data)
apply_roi(roi)
close(**kwargs)
get_data_layer_artist(layer=None, layer_state=None)
get_subset_layer_artist(layer=None, layer_state=None)
hide_crosshairs()
show_crosshairs(x, y)
update_aspect(aspect=None)
static update_viewer_state(rec, context)