def save_figure_widget(self): r""" Method for saving the figure of the current ``figure_id`` to file using :func:`menpo.visualize.widgets.base.save_matplotlib_figure` widget. """ from menpo.visualize.widgets import save_matplotlib_figure save_matplotlib_figure(self)
def save_figure_widget(self, popup=True): r""" Method for saving the figure of the current ``figure_id`` to file using :func:`menpo.visualize.widgets.base.save_matplotlib_figure` widget. Parameters ---------- popup : `bool`, optional If ``True``, the widget will appear as a popup window. """ from menpo.visualize.widgets import save_matplotlib_figure save_matplotlib_figure(self, popup=popup)