def paste_px_format(figure, **kwargs):
    """Updates Layout of the Figure with custom setting"""
    return figure.update_layout(**kwargs,
                                font={'color': 'Gray', 'size': 10},
                                width=780, margin={'pad': 10})