A mixed day for Arsenal captain Pierre-Emerick Aubameyang, who scored a fine goal but was later deservedly sent off.