I'd say the masterpieces ended after Up in 2009. They started doing sequels after that.
Edit: While I enjoy the usual downvotes, I find it hilarious to read all these articles about Pixar not mentioning Lasseter and Bird despite them clearly being a huge part of Pixar initial success with Lasseter being part of why Pixar mostly produced good movies. Disney Animation started making good movies again (Zootopia, Frozen) once he moved there. It's clear that the quality control suffered once he started splitting his time more and Disney had more influence.
And yet Inside Out came out in 2015, Coco in 2017, and Soul in 2020.