def make_viewer(mono=False, *loop_args, **loop_kwargs):
    """Makes a :class:`profiling.viewer.StatisticsViewer` with common options.
    """
    viewer = StatisticsViewer()
    loop = viewer.loop(*loop_args, **loop_kwargs)
    if mono:
        loop.screen.set_terminal_properties(1)
    return (viewer, loop)
Makes a :class:`profiling.viewer.StatisticsViewer` with common options.