@jnothman Thanks. How do I add a warning? I'm guessing from other places something like this,

    warnings.warn("The shape of attributes alphas_ has been changed from (n_alphas,) "
                          "to (n_l1_ratio, n_alphas")