def center_axes(ax):
    """
    Makes a plot's axes meet at the
    center instead of at the bottom left corner
    """
    ax.spines["bottom"].set_position("zero")
    ax.spines["left"].set_position("zero")
    ax.spines["right"].set_visible(False)
    ax.spines["top"].set_visible(False)
    return ax