In the Profile tab, there's a new button "Pet Select" in the lower right corner, next to the "Change Avatar" button.
You can turn it on and off there.
To clarify, this controls whether you display your pet. It doesn't control whether you see your opponent's pet.