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.PlotControlPanel
The
HistogramControlPanel
is a FSLeyes control panel which allows the user to configure aHistogramPanel
. AHistogramControlPanel
looks 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()
. TheHistogramControlPanel
is only intended to be added toHistogramPanel
views.
- __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'