Bin data along an axis.

This operation creates equally spaced bins (in linear or log space) along an axis and adds a condition assigning each event to a bin. The value of the event’s condition is the left end of the bin’s interval in which the event is located.


The name of the new condition created by this operation.


The channel to apply the binning to.


The scale to apply to the channel before binning.

Bin Width

How wide should each bin be? Can only set if Scale is linear or log (in which case, Bin Width is in log10-units.)

class cytoflowgui.op_plugins.binning.BinningHandler(*args: Any, **kwargs: Any)[source]

Bases: traitsui.api.

class cytoflowgui.op_plugins.binning.BinningViewHandler(*args: Any, **kwargs: Any)[source]

Bases: traitsui.api.

class cytoflowgui.op_plugins.binning.BinningPlugin[source]

Bases: envisage.plugin.Plugin, cytoflowgui.op_plugins.op_plugin_base.PluginHelpMixin

operation_id = ''
view_id = ''
short_name = 'Binning'
menu_group = 'Gates'
get_handler(model, context)[source]