I am only trying to get a single plot. And this is what I am getting

the is only a single x axis at the bottom. I would like to have one at the top and a yaxis on the left and right.
I am looking into how to do this by a combination of using ax.set_yticks() and ax.axvlilne() but there should be something more straightforward.
thanks for answering