Reference¶
Base features¶
The panels base module provides PanelWidget
(the panel widget
class from which all panels must derived from) and identifiers for each kind
of panel.
- plotpy.constants.ID_ITEMLIST = 'itemlist'¶
ID of the item list panel
- plotpy.constants.ID_CONTRAST = 'contrast'¶
ID of the contrast adjustment panel
- plotpy.constants.ID_XCS = 'x_cross_section'¶
ID of the X-axis cross section panel
- plotpy.constants.ID_YCS = 'y_cross_section'¶
ID of the Y-axis cross section panel
- plotpy.constants.ID_OCS = 'oblique_cross_section'¶
ID of the oblique averaged cross section panel
- plotpy.constants.ID_LCS = 'line_cross_section'¶
ID of the line cross section panel
Plot Item list¶
The plot item list panel is a widget which displays the list of items attached to the plot.
Contrast adjustment¶
The contrast adjustment panel is a widget which displays the image levels histogram and allows to manipulate it in order to adjust the image contrast.
Cross-sections¶
The cross-section panels are used to display cross-sections of 2D data, either along the X or Y axis, or along an oblique rectangle (average of the data along an oblique rectangle).
- class plotpy.panels.csection.XCrossSection(parent=None)[source]¶
X-axis cross section panel
- Parameters:
parent – parent widget
- class plotpy.panels.csection.YCrossSection(parent=None, position='right', xsection_pos='top')[source]¶
Y-axis cross section panel
- Parameters:
parent – parent widget
position – position of the panel (‘left’ or ‘right’)
xsection_pos – position of the cross section plot (‘top’ or ‘bottom’)