def display_plots(filebase, directory=None, width=<NUM_LIT>, height=<NUM_LIT>, **kwargs):
def show_figure(filebase, directory, **kwargs):<EOL><INDENT>"""<STR_LIT>"""<EOL>filename = filebase.format(**kwargs)<EOL>if directory is not None:<EOL><INDENT>filename = directory + '<STR_LIT:/>' + filename<EOL><DEDENT>display(HTML("<STR_LIT>".format(filename=filename)))<EOL><DEDENT>interact(show_figure, filebase=fixed(filebase), directory=fixed(directory), **kwargs)<EOL>
Display a series of plots controlled by sliders. The function relies on Python string format functionality to index through a series of plots.