fsleyes.controls.histogramcontrolpanel
This module provides the HistogramControlPanel class, a FSLeyes
control panel which allows a HistogramPanel to be configured.
- class fsleyes.controls.histogramcontrolpanel.HistogramControlPanel(*args, **kwargs)[source]
Bases:
fsleyes.controls.plotcontrolpanel.PlotControlPanelThe
HistogramControlPanelis a FSLeyes control panel which allows the user to configure aHistogramPanel. AHistogramControlPanellooks something like the following:
- static defaultLayout()[source]
Returns a dictionary containing layout settings to be passed to
ViewPanel.togglePanel.
- static supportedViews()[source]
Overrides
ControlMixin.supportedViews(). TheHistogramControlPanelis only intended to be added toHistogramPanelviews.
- __init__(*args, **kwargs)[source]
Create a
HistogramControlPanel. All arguments are passed through to thePlotControlPanel.__init__()method.
- generateCustomPlotPanelWidgets(groupName)[source]
Overrides
PlotControlPanel.generateCustomPlotPanelWidgets(). Adds some widgets to control properties of theHistogramPanel.
- generateCustomDataSeriesWidgets(hs, groupName)[source]
Overrides
PlotControlPanel.generateCustomDataSeriesWidgets(). Adds some widgets to control properties of theHistogramSeries.
- __annotations__ = {}
- __module__ = 'fsleyes.controls.histogramcontrolpanel'