python matplotlib legend shows first entry of a list only,ax.legend()