ImageWidgetBase¶
-
class
glue.viewers.image.qt.viewer_widget.ImageWidgetBase(session, parent=None)[source]¶ Bases:
glue.viewers.common.qt.data_viewer.DataViewerWidget for ImageClient
This base class avoids any matplotlib-specific logic
Attributes Summary
LABELaspect_ratioAspect ratio for image attributeCurrent attribute battComponentID assigned to B channel in RGB Mode dataCurrent data gattComponentID assigned to G channel in RGB Mode rattComponentID assigned to R channel in RGB Mode rgb_modeRGB Mode? rgb_vizslicewindow_titleMethods Summary
add_data(*args, **kwargs)Add a new dataset to the viewer add_data_to_combo(data)Add a data object to the combo box, if not already present add_subset(*args, **kwargs)closeEvent(event)make_central_widget()Create and return the central widget to display the image make_client()Instantiate and return an ImageClient subclass make_toolbar()Create and return the toolbar for this widget options_widget()register_to_hub(hub)remove_data_from_combo(data)Remove a data object from the combo box, if present restore_layers(*args, **kwargs)set_attribute_combo(data)Update attribute combo box to reflect components in data unregister(hub)Attributes Documentation
-
LABEL= 'Image Viewer'¶
-
aspect_ratio¶ Aspect ratio for image
-
attribute¶ Current attribute
-
batt¶ ComponentID assigned to B channel in RGB Mode
-
data¶ Current data
-
gatt¶ ComponentID assigned to G channel in RGB Mode
-
ratt¶ ComponentID assigned to R channel in RGB Mode
-
rgb_mode¶ RGB Mode?
-
rgb_viz= None¶
-
slice¶
-
window_title¶
Methods Documentation
-