save_matplotlib_figure

menpo.visualize.save_matplotlib_figure(renderer, style='coloured')[source]

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

Parameters:
  • renderer (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.