def save_figure(self):
"""<STR_LIT>"""<EOL>default_name = '<STR_LIT>'<EOL>self.ui.graphic_widget.canvas.print_figure(default_name)<EOL>src = '<STR_LIT>' + default_name<EOL>dst = '<STR_LIT>'<EOL>os.system("<STR_LIT>" + "<STR_LIT:U+0020>" + src + "<STR_LIT:U+0020>" + dst)<EOL>
This function programs the button to save the figure displayed
and save it in a png file in the current repository.