I am using matplotlib.pyplot to plot figures but no plot appears

Hello,

I want to use matplotlib to visualize my figures but no plot appears when I call matplotlib.pyplot. This is the script I’m running

python
import barnaba as bb
import matplotlib.pyplot as plt
top="trna.prmtop"
traj="trna.mdcrd"
native="trna.pdb"
ermsd=bb.ermsd(native,traj,topology=top
plt.plot(ermsd[::1])
plt.show()

I am using python within a virtual environment.
python version 3.8
linux

PS. I have tried to change the backend but to no avail. Does anyone have any suggestions?

Thanks

Ack sorry this took so long to reply. Can you save out the image and give a little more info on which backends you’ve tried and your environment?