Yeah, I agree. A character should figure out the weaknesses of their enemies on their won terms. If an actually smart enemy is showing how their power works, they should be doing it to gas light and not giving away any overly useful information.
Or, if an author really wants a villian to show...