It also wasn't a coup. The former is/was impeached for shenanigans involving the state petro co./graft and misstating economic numbers and many other irregularities.
It was most definitely a coup. The people prosecuting her couldn't care less about the alleged violations, that's just a nifty way they managed to get into power.
The people in charge now manage to be even dirtier.