This photo was taken from the road that leads to the town of Barranca Grande, aptly named after the "barranca" (canyon) it's located in. See A view of the big canyon "Barranca Grande" for a photo that was taken more up, close to the road that leads to the town of Cosautlán.
This picture is part of the blog post The walk to Barranca Grande which has more photos and provides background information on the walk we had.