def legend_2ax(ax1, ax2, **kwargs):
    """Create a combined legend for two y-axes."""
    h1, l1 = ax1.get_legend_handles_labels()
    h2, l2 = ax2.get_legend_handles_labels()
    ax1.legend(h1 + h2, l1 + l2, **kwargs)
    return None