figureflow.figure_panel.FigurePanel.add_cropping

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

Add cropping to an image or a set of images.

Parameters:
  • left – crop from left site, either rel width of image or actual number of pixels

  • right – crop from right site, either rel width of image or actual number of pixels

  • top – crop from top, either rel width of image or actual number of pixels

  • bottom – crop rom bottom, either rel width of image or actual number of pixels

  • coords – either “rel” for relative image coords, or px for px counts

  • row – images in which row should be cropped, if not defined or None, in all rows

  • column – images in which column should be cropped, if not defined or None, in all rows

  • images – Apply cropping to only a subset of images, specific number of images (numbers will be given incrementally to images in alphanumerical order),