def convert_dash(mpl_dash):
    if mpl_dash in DASH_MAP:
        return DASH_MAP[mpl_dash]
    else:
        return 'solid'  # default
tests False function not updated.
dataset/ETHPy150Open plotly/plotly.py/plotly/matplotlylib/mpltools.py/convert_dash--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/modules/boto_lambda_test.py/BotoLambdaFunctionTestCase.test_that_when_updating_a_function_fails_the_update_function_method_returns_error