figureflow.figure_panel.FigurePanel.label_channels

figureflow.figure_panel.FigurePanel.label_channels = <function FigurePanel.label_channels>

Label a category (images, channels, frames or slices; also _subs).

Parameters:
  • texts – Text that should be used as labels; should match the number of different values in the defined category Same labels that are adjacent are only labeled once across all affected images

  • site – String of site at image grid at which labels should be adde (“top”, “bottom”, “left” or “right”). Depending on the dimension (columns or rows) in which the category is, top/bottom (for columns) might is better for left/right (for rows).

  • label_composites – Whether to label composite channels

  • font_size – font_size of labels; if None default for figure_panel will be used

  • default_composite_label – Default composite label to use, otherwise composites will be labeled as a combination of the channel names which are composited together

  • padding – Padding in pt of labels from images

  • font_size_factor – Factor by which the default font_size should be scaled to obtain font size for labels

  • label_orientation – “hor” or “vert” default is horizontal for “top” and “bottom” site and vertical for “left” and “right” site