def dict_dropdown(dict_to_display, title='Dictionary Contents'):
    """Display the model_params dictionary as a dropdown menu."""
    from ipywidgets import interact
    from IPython.display import display
    from pprint import pprint
    dash = '---'
    print(f'{dash * 4} {title} {dash * 4}')

    @interact(dict_to_display=dict_to_display)
    def display_params(dict_to_display=dict_to_display):
        display(pprint(dict_to_display))
        return
