pyOMA.GUI.HelpersGUI.save_figure_dialog#
- pyOMA.GUI.HelpersGUI.save_figure_dialog(parent, canvas, caption='Choose a filename to save to')[source]#
Prompt for a filename (via canvas’s supported filetypes) and save it.
Shared by every GUI’s “Save Figure(s)” button so each doesn’t have to re-derive the matplotlib filetype filter list. Returns the chosen filename, or
''if the user cancelled (nothing was saved).