menpowidgets </br>
Github Release BSD License

menpowidgets is the Menpo Project’s Python package for sophisticated visualization within the Jupyter notebook using interactive widgets. In the Menpo Project we take an opinionated stance that visualization is a key part of generating research. Therefore, we have tried to make the mental overhead of visualizing objects as low as possible. MenpoWidgets makes tasks like data exploration, model observation and results demonstration as simple as possible.

Widgets Structure

menpowidgets can be separated into a 2-level hierarchy:

  1. Main Widgets
    These are the end user widget functions and the only ones that are exposed at the highest level of menpowidgets. They are further split into:
    1.1. Main Menpo Widgets: These include widgets functions for visualizing the menpo package objects.
    1.2. Main MenpoFit Widgets: These include widgets functions for visualizing the menpofit package objects.

  2. Widgets Components
    These are the main ingredients for synthesizing the main widgets. They consist of a 2-level hierarchy:
    2.1. Options Widgets: These are classes that implement widgets for selecting various options, such as rendering options, landmark options, channels options etc. They can be seen as the main components of all top level widgets.
    2.2. Tools Widgets: These are classes that implement lower level widget functionalities, such as colour selection, zoom options, axes options, etc. They are the main ingredients of the options widgets.

Trait and render callback

All our widgets are subclasses of menpowidgets.abstract.MenpoWidget which is an ipywidgets.FlexBox. Thus all our widgets have the following functionalities:

Styling and set state

Additionally, all widgets have the following functions: