<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def show(filename=None, *args, **kwargs):
 """ Show the current figure. Parameters filename : :obj:`str` filename to save the image to, for auto-saving """

        if filename is None:
            plt.show(*args, **kwargs)
        else:
            plt.savefig(filename, *args, **kwargs)