save_matplotlib_figure

menpowidgets.base.save_matplotlib_figure(renderer, style='coloured')[source]

Widget that allows to save a figure, which was generated with Matplotlib, to file.

Parameters:
  • renderer (menpo.visualize.viewmatplotlib.MatplotlibRenderer) – The Matplotlib renderer object.
  • 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.