visualize_pointclouds

menpo.visualize.visualize_pointclouds(pointclouds, figure_size=(10, 8), style='coloured', browser_style='buttons')[source]

Widget that allows browsing through a list of PointCloud, PointUndirectedGraph, PointDirectedGraph, PointTree, TriMesh or subclasses. All the above can be combined in the list.

The widget has options tabs regarding the renderer (lines, markers, figure, axes) and saving the figure to file.

Parameters:
  • pointclouds (list) – The list of objects to be visualized. It can contain a combination of PointCloud, PointUndirectedGraph, PointDirectedGraph, PointTree, TriMesh or subclasses of those.
  • figure_size ((int, int), optional) – The initial size of the rendered figure.
  • style ({'coloured', 'minimal'}, optional) – If 'coloured', then the style of the widget will be coloured. If minimal, then the style is simple using black and white colours.
  • browser_style ({'buttons', 'slider'}, optional) – It defines whether the selector of the objects will have the form of plus/minus buttons or a slider.