def METHOD_NAME(data, fmt):
    """Visualize CifData objects."""
    try:
        show_function = getattr(cmd_show, f'_show_{fmt}')
    except AttributeError:
        echo.echo_critical(f'visualization format {fmt} is not supported')
    show_function(fmt, data)