def make_foot_pressure_indicator(sensor_number, value, previous_value=None) -> dict:
    """Create figure of analog meter displaying value of singe pressure sensor"""

    return dict(
        data=[
            dict(
                type='indicator',
                mode='number+delta+gauge',
                title=f'Foot pressure sensor {sensor_number}',
                value=value,
                delta=dict(reference=previous_value, relative=False),
                gauge=dict(
                    axis=dict(visible=True, range=[0, 1023])
                ),
                # domain=dict(x=[0, .6])
            )
        ],
        layout=dict(width=500, height=370)
    )