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
PS. I have tried to change the backend but to no avail. Does anyone have any suggestions?