def summarize_unc(unc):
    """Format an uncertain value as a Vega-ready JSON-style dictionary.
    """
    return {
        'value': unc.value,
        'error': unc.error,
        'err_min': unc.value - unc.error,
        'err_max': unc.value + unc.error,
    }